Skip to content

Commit

Permalink
Update UI re: delegated permission terminology
Browse files Browse the repository at this point in the history
  • Loading branch information
yndajas committed Oct 1, 2024
1 parent 7a23cb7 commit 4f546b7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion app/views/supported_permissions/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@
} %>
</div>

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<%= render "govuk_publishing_components/components/details", {
title: "What is a 'delegated' permission?"
} do %>
<p class="govuk-body">
When a permission is delegated, publishing managers are able to grant the
permission to users they manage. When the 'signin' permission is delegated,
publishing managers can grant or remove access to the given application.
</p>
<% end %>
</div>
</div>

<%= render "components/table", {
caption: "Permissions for #{@application.name}",
caption_classes: "govuk-visually-hidden",
Expand All @@ -37,7 +51,7 @@
text: "Created",
},
{
text: "Can be delegated?",
text: "Delegated",
},
{
text: "Is a default permission given to all new users?",
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ en:

supported_permissions:
form:
delegatable: 'Can be delegated'
delegated: 'Delegated'
default: 'Default permission added to all new users'
placeholder:
name: 'Name of application permission'
Expand Down

0 comments on commit 4f546b7

Please sign in to comment.