Commit Graph

846 Commits

Author SHA1 Message Date
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
Ritchie Martori ad58a8ec13 Only look at cookies if they are available 2013-12-11 16:43:23 -08:00
Raymond Feng 0f4e9e1d1c Merge pull request #94 from strongloop/feature/access-context
Refactor to the code use wrapper classes
2013-12-11 16:26:01 -08:00
Raymond Feng 0f86f69880 Remove the empty comment and set default token 2013-12-11 16:21:37 -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 f8a03ad010 Merge pull request #93 from strongloop/fix/owner
Various ACL fixes
2013-12-11 11:09:53 -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
Ritchie Martori f08b09823d Merge pull request #92 from strongloop/feature/token-acl
Allow requests without auth tokens
2013-12-10 19:44:24 -08:00
Ritchie Martori b0f51e20f7 Add user default ACLs 2013-12-10 19:43:59 -08:00
Ritchie Martori dfcb43e613 Allow requests without auth tokens 2013-12-10 15:57:55 -08:00
Ritchie Martori 2885d3c08f Merge pull request #91 from strongloop/bug/base-model
Fix base class not being actual base class
2013-12-09 17:19:38 -08:00
Ritchie Martori e7cc30ee03 Fix base class not being actual base class 2013-12-09 17:11:01 -08:00
Raymond Feng 2efd2b1e2f Merge pull request #90 from strongloop/feature/fix-acl-resolution
Fix the ACL resolution against rules by matching score
2013-12-09 15:41:33 -08:00
Raymond Feng 7f51c28539 Fix the ACL resolution against rules by matching score 2013-12-09 15:26:53 -08:00
Ritchie Martori af2b8dd4ff Merge feature/password-reset 2013-12-06 17:35:14 -08:00
Ritchie Martori a6a135ab18 Merge pull request #87 from strongloop/feature/model-access-type
Add access type checking
2013-12-06 17:08:19 -08:00
Ritchie Martori 216fee3015 Add access type checking 2013-12-06 17:04:47 -08:00
Ritchie Martori 4e1e3afb74 Merge pull request #86 from strongloop/feature/model-require-token
Feature/model require token
2013-12-06 13:03:24 -08:00
Ritchie Martori bc27f07472 Add Model.requireToken for disabling token requirement 2013-12-06 12:09:52 -08:00
Ritchie Martori 4c69af5ae2 Add Model.requireToken, default swagger to false 2013-12-06 12:00:18 -08:00
Raymond Feng e8df5bb1e1 Merge tag 'v1.3.3'
1.3.3
2013-12-06 10:48:06 -08:00
Raymond Feng 8cf84c3581 Merge branch 'release/1.3.3' into production 2013-12-06 10:47:55 -08:00
Raymond Feng 2e9d34af37 Bump version 2013-12-06 10:47:08 -08:00
Raymond Feng fb149e63a0 Bump version 2013-12-06 10:41:59 -08:00
Raymond Feng 383f42071e Merge pull request #85 from strongloop/feature/juggler-dep
Make loopback-datasource-juggler a peer dep
2013-12-06 10:29:24 -08:00
Raymond Feng 8300ba6c08 Make loopback-datasource-juggler a peer dep 2013-12-06 10:24:29 -08:00
Rand McKinney 0a269b83c5 Add blank line before list so it lays out properly. 2013-12-06 10:20:34 -08:00
Rand McKinney 52026fc55c Fix list format and minor wording fix. 2013-12-06 10:18:31 -08:00
Rand McKinney 14a6834f13 Merge pull request #84 from strongloop/feature/fix-remote-method-apidocs
docs: describe http mapping of arguments
2013-12-06 10:11:29 -08:00
Rand McKinney 9b42878d51 Small fix to link text 2013-12-06 10:10:28 -08:00
Rand McKinney f8fe17b229 Minor formatting and wording fixes. 2013-12-06 10:06:22 -08:00
Miroslav Bajtos 6c1029b164 docs: describe http mapping of arguments 2013-12-06 16:45:34 +01:00
Ritchie Martori 1ba114ecda Merge pull request #83 from strongloop/feature/paas-defaults
SLA-725 support PORT and HOST environment for PaaS
2013-12-05 20:01:28 -08:00
Ritchie 68ef03e944 SLA-725 support PORT and HOST environment for PaaS support 2013-12-05 20:00:09 -08:00
Ritchie Martori 80f348bc76 Merge tag 'v1.3.1'
1.3.1
2013-12-04 14:58:50 -08:00
Ritchie Martori e554a07fe0 Merge branch 'release/1.3.1' into production 2013-12-04 14:58:40 -08:00
Raymond Feng d39957f095 Merge pull request #81 from strongloop/feature/fix-test
Fix the test assertion as the error message is changed.
2013-12-04 14:56:38 -08:00
Raymond Feng 23add99f12 Fix the test assertion as the error message is changed. 2013-12-04 14:41:25 -08:00
Raymond Feng 34405df2cb Bump version 2013-12-04 11:25:30 -08:00
Rand McKinney ec922828a6 Remove superfluous head1 2013-12-03 14:49:09 -08:00
Rand McKinney 5eaff4e1eb Fixed some list formatting issues. 2013-12-03 13:43:02 -08:00
Rand McKinney fbf61e7672 Fix list formats to play well with wiki markdown macro. 2013-12-03 12:18:31 -08:00
Rand McKinney 0733d932d8 Minor reformatting. 2013-12-03 12:16:35 -08:00
Rand McKinney 9d55bc0002 Sadly, HTML table format is unusable in documentation wiki. Revert to lame md format. 2013-12-03 12:15:30 -08:00
Rand McKinney 0fe86cf723 Reformat table for /find operation arguments 2013-12-03 11:58:36 -08:00
Rand McKinney cfd1e0ac17 Deleted extra space that foiled bold formatting 2013-12-03 11:05:51 -08:00
Rand McKinney e492f286c6 Changed h3's to bold text to avoid generating items in TOC 2013-12-03 11:00:43 -08:00
Rand McKinney aef432f7d1 Fixed erroneous heading level 2013-12-03 10:32:59 -08:00