Package com.polarion.platform.security
Class ReportPermission
java.lang.Object
com.polarion.platform.security.Permission
com.polarion.platform.security.ReportPermission
- All Implemented Interfaces:
IPermission
Report permission class.
Available permissions:
com.polarion.report.read
- action isACTION_READ
com.polarion.report.update
- action isACTION_UPDATE
- Version:
- $Revision$ $Date$
- Author:
- Jiri Walek, Polarion Software
-
Field Summary
Fields inherited from class com.polarion.platform.security.Permission
name
Fields inherited from interface com.polarion.platform.security.IPermission
SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe collection of permissions, to which the decision about this permission is granted, if there is no record for exactly this permission.static ReportPermission
Get read report permissioncom.polarion.report.read
Controls if user has access to see reports - on dashboard, report pages, qcentre...static ReportPermission
Get update report permissioncom.polarion.report.update
Controls if user has access to update reports - on dashboard, report pages, qcentre...Methods inherited from class com.polarion.platform.security.Permission
denied, equals, getDynamicRoles, getName, hashCode, isInCustomSet, toString
-
Field Details
-
ACTION_READ
- See Also:
-
ACTION_UPDATE
- See Also:
-
-
Constructor Details
-
ReportPermission
Constructor.- Parameters:
name
- permission name- Throws:
IllegalArgumentException
- if name is invalid
-
-
Method Details
-
getReadReportPermission
Get read report permissioncom.polarion.report.read
Controls if user has access to see reports - on dashboard, report pages, qcentre...- Returns:
ReportPermission
-
getUpdateReportPermission
Get update report permissioncom.polarion.report.update
Controls if user has access to update reports - on dashboard, report pages, qcentre...- Returns:
ReportPermission
-
getParentPermissions
Description copied from interface:IPermission
The collection of permissions, to which the decision about this permission is granted, if there is no record for exactly this permission.For permission to be granted, none of it's parents can be denied and at least one of them must be granted. The rest can be either undefined or granted.
- Specified by:
getParentPermissions
in interfaceIPermission
- Overrides:
getParentPermissions
in classPermission
- Returns:
- array of
IPermission
s (notnull
)
-