Class AuthenticatedUserRelationDescriptor<S extends User,T extends Relatable>

java.lang.Object
com.atlassian.confluence.api.impl.service.relation.DefaultValidatingRelationDescriptor<S,T>
com.atlassian.confluence.api.impl.service.relation.AuthenticatedUserRelationDescriptor<S,T>
All Implemented Interfaces:
RelationDescriptor<S,T>, ValidatingRelationDescriptor<S,T>

public class AuthenticatedUserRelationDescriptor<S extends User,T extends Relatable> extends DefaultValidatingRelationDescriptor<S,T>
A ValidatingRelationDescriptor which checks that the User for which the relation is being created is also the currently authenticated user. Used to validate relations where users can only create relations for themselves.
Since:
5.11