baucis-access

0.0.5 • Public • Published

baucis-access

Build Status

Plugin for Baucis to configure read/write access on per-attribute level.

Installation

npm install baucis-access

Testing

npm test

Sample usage

var controller = baucis.rest('vegetable');

controller.access({
    authenticated: {
        create: true,
        read: "name score"
    },
    owner: {
        write: "name species score",
        read: true,
        drop: false
    }
});

Readme

Keywords

none

Package Sidebar

Install

npm i baucis-access

Weekly Downloads

6

Version

0.0.5

License

none

Last publish

Collaborators

  • pkaroukin