Drop Organization abilities
This commit is contained in:
parent
b9a50ef20d
commit
dc1a6a4363
3 changed files with 4 additions and 23 deletions
|
|
@ -17,7 +17,6 @@ class Ability
|
|||
|
||||
# Abilities for not signed in users (guests)
|
||||
def not_signed_in
|
||||
can [:index, :conferences, :code_of_conduct], Organization
|
||||
can [:index], Conference
|
||||
can [:show], Conference do |conference|
|
||||
conference.splashpage&.public == true
|
||||
|
|
@ -86,7 +85,6 @@ class Ability
|
|||
end
|
||||
end
|
||||
|
||||
can :index, Organization
|
||||
can :index, Ticket
|
||||
can :manage, TicketPurchase, user_id: user.id
|
||||
can [:new, :create], Payment, user_id: user.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue