Add warning text on external users permissions

stable
Jesús Espino 2017-04-21 13:52:53 +02:00
parent 002c8bcc6c
commit 993bc70691
3 changed files with 8 additions and 1 deletions

View File

@ -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",

View File

@ -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

View File

@ -48,6 +48,9 @@
display: flex;
justify-content: flex-end;
padding-bottom: 2rem;
&.external-user {
justify-content: flex-start;
}
.check {
margin-left: .5rem;
input {