Class Conditions
java.lang.Object
ch.colabproject.colab.api.security.permissions.Conditions
Utility class to build conditions
- Author:
- maxence
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAND conditionstatic classAbstract condition.static classDo current and given user work on a common project ?static classHas the current user access to a card ?static classHas the current user write access to a card ?static classThe current user must be, at least, internal to given project teamstatic classThe current user must be member of the given project teamstatic classAre current and given users teammate ?static classIs the current user the given one ?static classNOTstatic classOR condition -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Conditions.ConditionA always false conditionstatic final Conditions.ConditionAn always true conditionstatic final Conditions.ConditionIs the current authenticated conditionstatic final Conditions.ConditionBy default if the situation cannot happen -
Method Summary
-
Field Details
-
alwaysTrue
An always true condition -
alwaysFalse
A always false condition -
defaultForOrphan
By default if the situation cannot happen -
authenticated
Is the current authenticated condition
-