|
CruiseControl.NET : Internal Server Security
This page last changed on Dec 13, 2009 by csut017.
Internal Server SecurityDefines a security manager implementation that implements security internally - the security settings are stored in the same configuration file. VersionAvailable from version 1.5 Examples<internalSecurity> <cache type="inMemoryCache" duration="10" mode="sliding" /> <users> <passwordUser name="johndoe" password="letmein" /> <simpleUser name="*" /> </users> <permissions> <rolePermission name="general" forceBuild="Deny"> <users> <userName name="*" /> </users> </rolePermission> </permissions> </internalSecurity> Configuration Elements
NotesGeneral Security PermissionsThe following are the general security permissions:
PermissionEach permission can be one of the following values:
The default permission for an omitted permission attribute is "Inherit". Permission InheritancePermissions can be set in multiple places, at both server and project level. When checking for a permission, the security manager will start at the project level and check each permission definition to see if it is valid for the user. When a valid permission is found, it will then see if the specific permission has been set (i.e. not inherit). The specific permission is decided by the action, e.g force or abort build, start or stop a project, etc. If the specific permission is not set, then it will check the default permission. If neither is set, then it will continue on through the permissions until it finds another valid permission. This will continue until all the permissions have been checked, or a permission has been found (e.g. allow or deny). If no permissions are found at the project level, it will then use the permissions defined at the server level. Again, it will first check for a specific permission, and then the default permission. If no permissions has been found after this, then it will return denied as the permission.
|
| Document generated by Confluence on Jan 23, 2011 08:52 |