[SERVER-9740] Give checkAuthFor[insert,update,remove,etc] all the information they need to handle all special namespaces. Created: 21/May/13 Updated: 11/Jul/16 Resolved: 09/Jul/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code, Security |
| Affects Version/s: | 2.4.3 |
| Fix Version/s: | 2.5.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Right now we have special handling of system namespaces in multiple places. system.profile and system.users are handled by _modifyPrivilegeForSpecialNamespaces in the AuthorizationManager, but system.indexes is handled specially elsewhere in code. |
| Comments |
| Comment by auto [ 09/Jul/13 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |
| Comment by auto [ 09/Jul/13 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |
| Comment by Spencer Brody (Inactive) [ 02/Jul/13 ] |
|
Current plan of attack:
This has the nice advantage of once the new write commands are implemented their checkAuthForCommand methods can delegate to the relevant CRUD checkAuthFor* method. |