ManagedOrOwnedObjectsAccessModifier Class |
The access modifier controls access to data objects of unspecified types.
It is only to be used in views as it has no access calculation logic (only load-option modification!).
The view should not apply any data object type filtering or it should filter on one or more of these types: identities, org. units, role folders, roles, systems.
An object is accessible for a user if:- The object has the "Manager" property and the user is selected as manager or is member of a group selected as manager.
- The object has the "Owner" property and the user is selected as owner or is member of a group selected as owner.
The access modifier either shows managed/owned objects for the active user or for a specified user. A user can be specified by adding a USERID parameter to the url of the view where the access modifier is applied. It is only possible for members of the administrators group to specify a userid other than their own.
The access modifier supports the parameter ADMINGROUPS which can be used to specify a number of user groups who's members should have access to managed/owned objects for users other than themselves. The value of ADMINGROUPS must be a comma delimited string with user group uids. If ADMINGROUPS is not specified then the value defaults to the built-in Administrators group. If ADMINGROUPS is specified then the built-in Administrators group must be included in order to have access. The access modifier also supports the parameter ADMINGROUPSKEY which works in the same way except that the value must be the key of a customer setting which holds a comma delimited string with user group uids.
The access modifier supports the parameter OVERRIDEGROUPS which can be used to specify a number of user groups who's members should have access to all objects. The value of OVERRIDEGROUPS must be a comma delimited string with user group uids.
Namespace: Omada.OE.Solution.OIM.AppLogic.AccessModifiers
public class ManagedOrOwnedObjectsAccessModifier : ViewAccessModifierBase
The ManagedOrOwnedObjectsAccessModifier type exposes the following members.
Name | Description | |
---|---|---|
![]() | ManagedOrOwnedObjectsAccessModifier |
Name | Description | |
---|---|---|
![]() | DbConnection |
Note: not available in the Initialize() method.
(Inherited from CommonAccessModifierBase.) |
![]() | DbTransaction |
Note: not available in the Initialize() method.
(Inherited from CommonAccessModifierBase.) |
![]() | Factory |
The factory can be used to create controller instances running on the connection/transaction that the call is executed in.
Note: not available in the Initialize() method.
(Inherited from CommonAccessModifierBase.) |
![]() | Parameters |
The parameters specified for the access modifier in the Initialize() method.
Tip: retrieve a parameter value by using the GetParameterValue() method.
(Inherited from CommonAccessModifierBase.) |
Name | Description | |
---|---|---|
![]() | CalculateAccess | (Inherited from ViewAccessModifierBase.) |
![]() | GetAccessFlags |
Get accessflags according to the readergroups, admingroups, and configuration of authrole elements.
(Inherited from CommonAccessModifierBase.) |
![]() | GetParameterValue(IDictionaryString, String, String, Boolean) |
Returns the value of a boolean parameter from the parameter values delivered to the Initialize() method.
Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.) |
![]() | GetParameterValue(IDictionaryString, String, String, Guid) |
Returns the value of a string parameter from the parameter values delivered to the Initialize() method.
Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.) |
![]() | GetParameterValue(IDictionaryString, String, String, Int32) |
Returns the value of an integer parameter from the parameter values delivered to the Initialize() method.
Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.) |
![]() | GetParameterValue(IDictionaryString, String, String, String) |
Returns the value of a string parameter from the parameter values delivered to the Initialize() method.
Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.) |
![]() | GetUIdsFromParameter(String, String, IDictionaryString, String) |
Returns a collection of UIds from the parameters delivered to the Initialize() method.
Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.) |
![]() | GetUIdsFromParameter(String, String, IDictionaryString, String, Guid) |
Returns a collection of UIds from the parameters delivered to the Initialize() method.
Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.) |
![]() | Initialize | (Overrides CommonAccessModifierBaseInitialize(IDictionaryString, String).) |
![]() | ModifyLoadOptions | (Overrides CommonAccessModifierBaseModifyLoadOptions(DataObjectLoadOptionsBase, AccessCallContext).) |
![]() | PrepareAccessCalculation | (Inherited from CommonAccessModifierBase.) |
![]() | QueryDataObjectIds |
Queries the database and returns the ids of the data obejcts that meet a set of expressions.
The security model is overridden.
(Inherited from CommonAccessModifierBase.) |
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
Name | Description | |
---|---|---|
![]() ![]() | IDataObjectFieldLevelAccessModifierCalculateAccess | (Inherited from CommonAccessModifierBase.) |
![]() ![]() | IDataObjectFieldLevelAccessModifierPrepareAccessCalculation | (Inherited from CommonAccessModifierBase.) |