about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-07-17 13:37:30 +0200
committerGitHub <noreply@github.com>2022-07-17 13:37:30 +0200
commitecb3bb3256fe1bab0d7a63829cdce914b2b509a9 (patch)
tree82b77c13756a9441a488f9e91127b1623debb514 /config
parent05e39dc6199c609d200d546fed8a6a560659aa06 (diff)
Add support for editing labelling of one's own role (#18812)
Still disallow edition of rank or permissions
Diffstat (limited to 'config')
-rw-r--r--config/locales/activerecord.en.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/locales/activerecord.en.yml b/config/locales/activerecord.en.yml
index daeed58b8..2dfa3b955 100644
--- a/config/locales/activerecord.en.yml
+++ b/config/locales/activerecord.en.yml
@@ -45,5 +45,7 @@ en:
             permissions_as_keys:
               dangerous: include permissions that are not safe for the base role
               elevated: cannot include permissions your current role does not possess
+              own_role: cannot be changed with your current role
             position:
               elevated: cannot be higher than your current role
+              own_role: cannot be changed with your current role