Interface PermOverrideManager

All Superinterfaces:
AuditableRestAction<Void>, Manager<PermOverrideManager>, RestAction<Void>

public interface PermOverrideManager extends Manager<PermOverrideManager>
Manager providing functionality to update one or more fields for a PermissionOverride.

Example


 manager.setDenied(Permission.MESSAGE_SEND)
        .setAllowed(Permission.VIEW_CHANNEL)
        .queue();
 manager.reset(PermOverrideManager.DENIED | PermOverrideManager.ALLOWED)
        .grant(Permission.MESSAGE_SEND)
        .clear(Permission.MESSAGE_MANAGE)
        .queue();
 
See Also: