[Backport] Add warning text on external users permissions
parent
6aea112491
commit
f324890eed
|
@ -611,7 +611,8 @@
|
|||
"REPLACEMENT_ROLE": "All the users with this role will be moved to",
|
||||
"WARNING_DELETE_ROLE": "Be careful! All role estimations will be removed",
|
||||
"ERROR_DELETE_ALL": "You can't delete all values",
|
||||
"EXTERNAL_USER": "External user"
|
||||
"EXTERNAL_USER": "External user",
|
||||
"NOTE_EXTERNAL_USERS": "<strong>Note:</strong> by External User we mean any anonymous user not belonging to the Taiga platform, including search engines. Please use this role with care."
|
||||
},
|
||||
"THIRD_PARTIES": {
|
||||
"SECRET_KEY": "Secret key",
|
||||
|
|
|
@ -34,6 +34,9 @@ div.wrapper.roles(ng-controller="RolesController as ctrl",
|
|||
|
||||
div.any-computable-role(ng-hide="anyComputableRole", translate="ADMIN.ROLES.WARNING_NO_ROLE")
|
||||
|
||||
div.general-category.external-user(ng-if="role.external_user")
|
||||
span(translate="ADMIN.ROLES.NOTE_EXTERNAL_USERS")
|
||||
|
||||
div.general-category(ng-if="!role.external_user")
|
||||
span(translate="ADMIN.ROLES.HELP_ROLE_ENABLED")
|
||||
div.check
|
||||
|
|
|
@ -48,6 +48,9 @@
|
|||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding-bottom: 2rem;
|
||||
&.external-user {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.check {
|
||||
margin-left: .5rem;
|
||||
input {
|
||||
|
|
Loading…
Reference in New Issue