Merge pull request #4125 from tomhughes/oauth-scopes
Only show granted permissions in the authorized application list
This commit is contained in:
commit
a56cdd547e
3 changed files with 31 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
</td>
|
||||
<td class="align-middle">
|
||||
<ul class="list-unstyled mb-0">
|
||||
<% application.scopes.each do |scope| -%>
|
||||
<% application.authorized_scopes_for(current_user).each do |scope| -%>
|
||||
<li><%= t "oauth.scopes.#{scope}" %></li>
|
||||
<% end -%>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue