mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Allow user to remove openid
This commit is contained in:
parent
703dce4f5c
commit
be72b9d02e
4 changed files with 19 additions and 2 deletions
|
|
@ -100,6 +100,8 @@ class Ability
|
|||
|
||||
# can manage the commercials of their own events
|
||||
can :manage, Commercial, commercialable_type: 'Event', commercialable_id: user.events.pluck(:id)
|
||||
|
||||
can [:destroy], Openid
|
||||
end
|
||||
|
||||
# Abilities for signed in users with roles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue