summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/privilege.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-35/+34
|
* SERVER-13698: Add role and privilege info to connectionStatus output.Amalia Hawkins2014-09-161-0/+7
|
* SERVER-13264 Move Apache-licensed files to AGPLIan Whalen2014-05-161-9/+21
| | | | Also update generators.
* SERVER-1105 Update AuthorizationSession's logic for collection-level access ↵Andy Schwerin2013-09-261-0/+12
| | | | | | | | control. Also requires changing the privileges of the built-in roles. This patch takes the opportunity to remove the 2.2-style read-only roles in favor of the 2.4-style "read" and "readAnyDatabase" roles, and renames the 2.2-style read-write roles "dbOwner" and "root". The "root" name, at least, is subject to change prior to the next unstable release. Test harnesses are updated as needed to use the correct builtin roles.
* SERVER-1105 Use ResourcePattern type when identifying the resource component ↵Andy Schwerin2013-09-231-4/+2
| | | | | | | | | of required privileges. This patch has two principal components. First, it changes the interface to Privilege and AuthorizationSession to use ResourcePattern in place of std::string for identifying resources. Second, it examines all call sites of the authorization session interface in commands and other code to ensure that the correct resource requirements are conveyed to the authorization_session.
* SERVER-9518 Cleanup authorization code and remove all uses of Principal and ↵Spencer T Brody2013-08-191-1/+0
| | | | PrivilegeSet
* SERVER-9518 Initial implementation of RoleGraph data structuresSpencer T Brody2013-05-221-0/+8
|
* Reimplement PrivilegeSet.Andy Schwerin2012-12-141-1/+6
| | | | | | | | | | This new implementation embeds in PrivilegeSet the hierarchical privilege checking algorithm. This is necessary in order to allow a connection with multiple authenticated princiapls to correctly resolve whether or not a command is authorized, given the case where one principal's authority provides some of the required privileges, and another's provides the rest. SERVER-7767
* Add method to AuthorizationManager to check authorization for an ActionSet ↵Spencer T Brody2012-12-031-0/+4
| | | | SERVER-7126
* Change auth data structures to use Apache licenseSpencer T Brody2012-11-271-15/+14
|
* Rename Capability to Privilege. SERVER-7126Spencer T Brody2012-11-071-0/+34