can :read, Redaction
can [:create, :destroy], :session
can [:read, :data, :georss], Trace
- can [:read, :terms, :create, :save, :suspended, :auth_success, :auth_failure], User
- can [:read, :blocks_on, :blocks_by], UserBlock
+ can [:read, :create, :suspended, :auth_success, :auth_failure], User
+ can [:read, :update], :account_terms
+ can :read, UserBlock
end
if user&.active?
can :update, DiaryEntry, :user => user
can [:create], DiaryComment
can [:make_friend, :remove_friend], Friendship
- can [:read, :create, :reply, :inbox, :outbox, :muted, :mark, :unmute, :destroy], Message
+ can [:read, :create, :mark, :unmute, :destroy], Message
can [:close, :reopen], Note
can [:read, :update], :preference
can :update, :profile
can [:read, :resolve, :ignore, :reopen], Issue
can :create, IssueComment
can [:create, :update, :destroy], Redaction
- can [:create, :revoke_all], UserBlock
+ can [:create, :destroy], UserBlock
can :update, UserBlock, :creator => user
can :update, UserBlock, :revoker => user
can :update, UserBlock, :active? => true