Add warning text on external users permissions
parent
002c8bcc6c
commit
993bc70691
|
@ -611,7 +611,8 @@
|
||||||
"REPLACEMENT_ROLE": "All the users with this role will be moved to",
|
"REPLACEMENT_ROLE": "All the users with this role will be moved to",
|
||||||
"WARNING_DELETE_ROLE": "Be careful! All role estimations will be removed",
|
"WARNING_DELETE_ROLE": "Be careful! All role estimations will be removed",
|
||||||
"ERROR_DELETE_ALL": "You can't delete all values",
|
"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": {
|
"THIRD_PARTIES": {
|
||||||
"SECRET_KEY": "Secret key",
|
"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.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")
|
div.general-category(ng-if="!role.external_user")
|
||||||
span(translate="ADMIN.ROLES.HELP_ROLE_ENABLED")
|
span(translate="ADMIN.ROLES.HELP_ROLE_ENABLED")
|
||||||
div.check
|
div.check
|
||||||
|
|
|
@ -48,6 +48,9 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
|
&.external-user {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
.check {
|
.check {
|
||||||
margin-left: .5rem;
|
margin-left: .5rem;
|
||||||
input {
|
input {
|
||||||
|
|
Loading…
Reference in New Issue