Ritchie Martori
|
fea1cee1c4
|
!fixup only set ctx.accessType when sharedMethod is available
|
2014-06-02 14:41:08 -07:00 |
Ritchie Martori
|
a2f931ed3f
|
Refactor ACL to allow for `methodNames` / aliases
|
2014-06-02 14:41:08 -07:00 |
haio
|
429052a0db
|
Ensure roleId and principalId to be string in Role#isInRole
|
2014-05-03 11:43:03 +08:00 |
Ritchie Martori
|
13b18065e2
|
Documentation cleanup
|
2014-04-14 14:49:29 -07:00 |
Raymond Feng
|
328a72ac91
|
Improve the ACL matching algorithm
See https://github.com/strongloop/loopback-example-access-control/issues/8
|
2014-03-19 15:09:20 -07:00 |
Raymond Feng
|
5586c54c49
|
Fix the Role ref to RoleMapping
|
2014-01-23 15:04:48 -08:00 |
Raymond Feng
|
bcc7e68e0e
|
Add lookback.getModelByType() and use it resolve model deps
|
2014-01-23 14:39:27 -08:00 |
Raymond Feng
|
d8647bb3c1
|
Make ACL model subclassing friendly
|
2014-01-16 08:50:50 -08:00 |
Ritchie
|
fcc4bba82d
|
Add reference documentation using sdocs
|
2013-12-19 17:49:47 -08:00 |
Ritchie Martori
|
b62b8fa47d
|
Fix user not allowed to delete itself if user
**Note: the only code required for the fix is in role.js:203**. The
other changes are to help organize debug output.
|
2013-12-11 19:15:19 -08:00 |
Raymond Feng
|
97dc0aa441
|
Refactor to the code use wrapper classes
Add AccessContext, Principal, and AccessRequest
Add debug information
|
2013-12-11 16:03:48 -08:00 |
Raymond Feng
|
178674ec9a
|
Enhance getRoles() to support smart roles
|
2013-12-11 09:06:21 -08:00 |
Raymond Feng
|
82eeaeee6b
|
Fix the algorithm for Role.isInRole and ACL.checkAccess
|
2013-12-10 23:33:57 -08:00 |
Ritchie Martori
|
4560ec0964
|
Various ACL fixes
|
2013-12-10 21:49:18 -08:00 |
Raymond Feng
|
344c74297c
|
Add unauthenticated role
|
2013-11-20 13:43:02 -08:00 |
Raymond Feng
|
bee8a3b022
|
Add checkAccess for subject and token
|
2013-11-20 13:43:01 -08:00 |
Raymond Feng
|
2c7c5fc7ec
|
Start to support smart roles such as owner
|
2013-11-20 13:43:01 -08:00 |
Raymond Feng
|
be32341467
|
Add a stub to register role resolvers
|
2013-11-14 21:19:56 -08:00 |
Raymond Feng
|
0430cd2ae3
|
Add tests for isInRole and getRoles
|
2013-11-14 21:19:56 -08:00 |
Raymond Feng
|
c3a1a85159
|
Add constants and more tests
|
2013-11-14 21:19:56 -08:00 |
Raymond Feng
|
48a0242711
|
Define the models/relations for ACL
|
2013-11-14 21:19:56 -08:00 |
Raymond Feng
|
67b934357b
|
Start to build the ACL models
|
2013-11-14 21:19:56 -08:00 |
Raymond Feng
|
492aca7724
|
Update acl/role models
|
2013-11-14 21:19:56 -08:00 |
Ritchie Martori
|
efce5039f6
|
Added AccessToken created property
|
2013-11-14 16:47:24 -08:00 |
Raymond Feng
|
0d405d4292
|
Rename 'loopback-data' to 'loopback-datasource-juggler'
|
2013-07-30 14:26:49 -07:00 |
Raymond Feng
|
1cf4338298
|
Rename jugglingdb to loopback-data
|
2013-07-16 11:52:21 -07:00 |
Raymond Feng
|
83ca45e07e
|
Add exports to models
|
2013-07-09 15:06:42 -07:00 |
Raymond Feng
|
b4391e6b26
|
Updating models
|
2013-07-08 16:59:11 -07:00 |
Raymond Feng
|
72020f8b62
|
Add more info to the models
|
2013-07-01 15:53:10 -07:00 |
Raymond Feng
|
a228ade1b1
|
Add more information to the logical models
|
2013-07-01 11:51:40 -07:00 |
Raymond Feng
|
8ec0533eb4
|
Add schema skeletons for built-in models
|
2013-06-26 16:25:51 -07:00 |