|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AvatarAccessPolicy
Contains informations about user permissions to avatars of specific type.
Method Summary | |
---|---|
boolean |
userCanCreateAvatarFor(ApplicationUser remoteUser,
String owningObjectId)
Return information if user can add avatar to given subject. |
boolean |
userCanViewAvatar(ApplicationUser remoteUser,
Avatar avatar)
Return information if user can add avatar to given subject. |
Method Detail |
---|
boolean userCanViewAvatar(@Nullable ApplicationUser remoteUser, @Nonnull Avatar avatar)
remoteUser
- user whose permissions should be used. Null means anonymous access.avatar
- avatar that the user wishes to accessboolean userCanCreateAvatarFor(@Nullable ApplicationUser remoteUser, @Nonnull String owningObjectId)
remoteUser
- user whose permissions should be used. Null means anonymous access.owningObjectId
- id of object (project/user/issuetype) to which this avatar is connected to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |