Skip to content

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

License

Notifications You must be signed in to change notification settings

hippich/baucis-access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    }
});

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published