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

Tuxion/baucis-access

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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

Languages

  • CSS 63.9%
  • JavaScript 36.1%