public class FormRightPolicyFilter extends BasicRightPolicyFilter
REVISIONorderCTXT_CATEGORIES| Constructor and Description |
|---|
FormRightPolicyFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeReadBy(boolean isAuthorized,
Publication pub,
Group group)
Called by
Publication.canBeReadBy(Group). |
boolean |
canBeReadBy(boolean isAuthorized,
Publication pub,
Member member,
boolean searchInGroups)
Called by
Publication.canBeReadBy(Member, boolean). |
protected static boolean |
isDefaultPrivacySkipped(Form form) |
callCanBeReadBy, callCanBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canCreateContact, canCreateWorkspace, canDeleteOther, canDeleteOther, canManageCategory, canPublish, canUpdateOther, canUpdateOther, canUseCategory, canWorkOn, canWorkOn, checkAccess, checkAfterUpload, checkBeforeUpload, checkHtml, getWorkspaceSet, init, isAdmin, isWorkercompareTo, equals, getOrder, setOrderclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrderpublic boolean canBeReadBy(boolean isAuthorized,
Publication pub,
Member member,
boolean searchInGroups)
RightPolicyFilterPublication.canBeReadBy(Member, boolean). It checks if
a member can read the given publication.
WARNING: HIGHLY SENSIBLE, do not modify without being sure of what you do,
can dramatically impact performance and can break existing rights behaviour.canBeReadBy in interface RightPolicyFiltercanBeReadBy in class BasicRightPolicyFilterisAuthorized - true if internal JCMS control authorized the member to perform this actionpub - the publication to checkmember - the member to checksearchInGroups - if true check if one of the group this
member belongs to is authorized to read this publication.RightPolicyFilter.canBeReadBy(boolean, Publication, Member, boolean)public boolean canBeReadBy(boolean isAuthorized,
Publication pub,
Group group)
RightPolicyFilterPublication.canBeReadBy(Group). It checks if
a group can read this publication.canBeReadBy in interface RightPolicyFiltercanBeReadBy in class BasicRightPolicyFilterisAuthorized - true if internal JCMS control authorized the member to perform this actionpub - the publication to checkgroup - the group to checkRightPolicyFilter.canBeReadBy(boolean, Publication, Group)protected static boolean isDefaultPrivacySkipped(Form form)
form - the form to check if it is protected by default (depending on its clazz)Form.SKIP_DEFAULT_PRIVACY_PROP_PREFIXCopyright © 2001-2022 Jalios SA. All Rights Reserved.