Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ankit-kumar-jat/14658f33bb904c461b84bad06a3bd55c to your computer and use it in GitHub Desktop.
Save ankit-kumar-jat/14658f33bb904c461b84bad06a3bd55c to your computer and use it in GitHub Desktop.

Revisions

  1. @facultymatt facultymatt revised this gist Sep 5, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion roles_invesitgation.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ## ACL
    ## ACL / Roles + Permissions

    https://github.com/djvirgen/virgen-acl
    Simple and elegant, create your own checks. No middleware?
  2. @facultymatt facultymatt revised this gist Sep 5, 2013. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion roles_invesitgation.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    ## ACL

    https://github.com/djvirgen/virgen-acl
    Simple and elegant, create your own checks. No middleware?

    @@ -23,4 +25,11 @@ https://github.com/ajlopez/SimplePermissions
    Maybe too simple? Makes sense for assigning roles but then its hard to check against roles!

    https://npmjs.org/package/entitlement
    Not ideal but here for reference sake.
    Not ideal but here for reference sake.

    ## Mongoose Field Access Control

    https://github.com/codedoctor/mongoose-plugins-accessible-by Set access per field of mongoose Schema. Not supported or maintained, and noted as not a perfect fit in all cases... but worth considering as a simple way to control access to fields.



  3. @facultymatt facultymatt revised this gist Sep 4, 2013. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions roles_invesitgation.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    https://github.com/djvirgen/virgen-acl
    Simple and elegant, create your own checks. No middleware?

    https://github.com/OptimalBits/node_acl
    Use as middleware, create your own roles and access. Great choice.

    https://github.com/tschaub/authorized
    Similar to connect roles... but a bit more robust? you can create roles and action, and associate many roles with that action
  4. @facultymatt facultymatt revised this gist Sep 4, 2013. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions roles_invesitgation.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    https://github.com/djvirgen/virgen-acl
    Simple and elegant, create your own checks. No middleware?


    https://github.com/tschaub/authorized
    Similar to connect roles... but a bit more robust? you can create roles and action, and associate many roles with that action

  5. @facultymatt facultymatt revised this gist Aug 28, 2013. 1 changed file with 2 additions and 3 deletions.
    5 changes: 2 additions & 3 deletions roles_invesitgation.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,6 @@
    https://github.com/tschaub/authorized
    Similar to connect roles... but a bit more robust? you can create roles and action, and associate many roles with that action




    https://github.com/scottkf/ability-js
    Like canCan for rails. This is a traditional controller / function type permission system. May be too abstract.

    @@ -19,3 +16,5 @@ Simple and closer to action / natural language based. Requires writing your own
    https://github.com/ajlopez/SimplePermissions
    Maybe too simple? Makes sense for assigning roles but then its hard to check against roles!

    https://npmjs.org/package/entitlement
    Not ideal but here for reference sake.
  6. @facultymatt facultymatt revised this gist Aug 28, 2013. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions roles_invesitgation.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,9 @@
    https://github.com/tschaub/authorized
    Similar to connect roles... but a bit more robust? you can create roles and action, and associate many roles with that action




    https://github.com/scottkf/ability-js
    Like canCan for rails. This is a traditional controller / function type permission system. May be too abstract.

  7. @facultymatt facultymatt revised this gist Aug 28, 2013. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion roles_invesitgation.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,3 @@

    https://github.com/scottkf/ability-js
    Like canCan for rails. This is a traditional controller / function type permission system. May be too abstract.

    @@ -8,3 +7,9 @@ More traditional setRole() hasRole() based checking. Last activity 2 years ago.
    https://github.com/carlos8f/node-relations
    Natural language style roles. Looks very promising and is in active development

    https://github.com/ForbesLindesay/connect-roles
    Simple and closer to action / natural language based. Requires writing your own checks for each.

    https://github.com/ajlopez/SimplePermissions
    Maybe too simple? Makes sense for assigning roles but then its hard to check against roles!

  8. @facultymatt facultymatt created this gist Aug 28, 2013.
    10 changes: 10 additions & 0 deletions roles_invesitgation.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@

    https://github.com/scottkf/ability-js
    Like canCan for rails. This is a traditional controller / function type permission system. May be too abstract.

    https://github.com/dresende/node-roles
    More traditional setRole() hasRole() based checking. Last activity 2 years ago.

    https://github.com/carlos8f/node-relations
    Natural language style roles. Looks very promising and is in active development