diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-04-12 12:04:33 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-04-18 11:12:28 -0300 |
commit | 820c08cefd78e593e94012061be29000d523ffd0 (patch) | |
tree | f50d16d6b6d7abe68e891f930d805091e5c5fcc8 /app/models/ability.rb | |
parent | 7d54e721da0ccd21f0150bbb6ab60b51970033c2 (diff) | |
download | gitlab-ce-820c08cefd78e593e94012061be29000d523ffd0.tar.gz |
Fix documentation and improve permissions code
Diffstat (limited to 'app/models/ability.rb')
-rw-r--r-- | app/models/ability.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb index a4bde72d991..6103a2947e2 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -120,6 +120,7 @@ class Ability def global_abilities(user) rules = [] rules << :create_group if user.can_create_group + rules << :read_users_list rules end |