Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (20 sloc) 955 Bytes

entitlement(1) -- abstractions around roles rights and entitlements

Build Status

entitlement       = require('entitlement');

    "view" : ['',''],
    "edit" : ['','','types.write','values.write'],
    "admin" : ['','']

    "" : ['view'],
    "" : ['admin']

entitlement.accountHasEntitlement('','') // True
entitlement.accountHasEntitlement('','types.write') // False

Legal Stuff

"entitlement" is owned by Markus Felten. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.

"Node.js" and "node" are trademarks owned by Joyent, Inc.

Jump to Line
Something went wrong with that request. Please try again.