#4887 Show the ACL name in addition to the description when creating API tokens
Merged 3 years ago by pingou. Opened 3 years ago by pingou.

@@ -44,7 +44,7 @@ 

              <label class="c-input c-checkbox">

                <input type="checkbox" name="acls" value="{{ acl.name }}">

                <span class="c-indicator"></span>

-               {{ acl.description }}

+               {{ acl.description }} <span class="small">({{ acl.name }})</span>

              </label>

            </div>

            {% endfor %}

So in addition to the description of the ACL, we will now show the
actual name of the ACL, which hopefully will help people when they
meet documentation that says: create a token with the update_issue ACL.

Relates to https://pagure.io/pagure/issue/4765

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

rebased onto 98d320c

3 years ago

Pull-Request has been merged by pingou

3 years ago