Class UserPermissionsBean
- java.lang.Object
-
- de.xima.fc.gui.common.bean.security.UserPermissionsBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class UserPermissionsBean extends Object implements Serializable
Bean for handling user permissions- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserPermissionsBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAccessClientScopedView(Mandant client, IView view)
boolean
canAccessProjectScopedView(Projekt project, IView view)
boolean
hasClientAccess(Mandant client, IAccessProperty property)
boolean
hasProjectAccess(Projekt project, IAccessProperty property)
boolean
hasSystemAccess(IAccessProperty property)
-
-
-
Method Detail
-
hasProjectAccess
public boolean hasProjectAccess(Projekt project, IAccessProperty property)
-
hasClientAccess
public boolean hasClientAccess(Mandant client, IAccessProperty property)
-
hasSystemAccess
public boolean hasSystemAccess(IAccessProperty property)
-
-