diff --git a/app/views/organisation_users/admin_index.html.erb b/app/views/organisation_users/admin_index.html.erb index f6184c1..da08365 100644 --- a/app/views/organisation_users/admin_index.html.erb +++ b/app/views/organisation_users/admin_index.html.erb @@ -14,6 +14,7 @@ <%= t('org_admin.user_name') %> <%= t('org_admin.last_logged_in') %> <%= t('org_admin.how_many_plans') %> + <%= t('org_admin.api_privleges') %> @@ -39,6 +40,14 @@ <%= user_id.user.project_groups.count %> <%end%> + + #if the organisation has any api permissions + #show tickboxes which allow for users to have api_tokens + # if the user has an api_token, the tickbox is shown as ticked + # upon hitting save, + # any user which previously had an apitoken, but no longer has a check, looses their token + # any user which perviously had no apitoken, and now has a check, gains a token, and gets sent an email + <%end%> <% end %>