Merge branch 'ent-7920-metacosola-gestion-de-usuarios-locales' into 'develop'

Re-enabled user management in MC while not in centralised environment

See merge request artica/pandorafms!4369
This commit is contained in:
Daniel Rodriguez 2021-08-24 12:28:03 +00:00
commit 8a574a2f93
3 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ $update_profile = (bool) get_parameter('update_profile');
$id_profile = (int) get_parameter('id');
$is_management_allowed = true;
if (is_management_allowed() === false) {
if (is_metaconsole() === false && is_management_allowed() === false) {
$is_management_allowed = false;
ui_print_warning_message(
__(

View File

@ -395,7 +395,7 @@ $table->data[0][4] = html_print_submit_button(
);
$is_management_allowed = true;
if (is_management_allowed() === false) {
if (is_metaconsole() === false && is_management_allowed() === false) {
$is_management_allowed = false;
ui_print_warning_message(
__(

View File

@ -235,7 +235,7 @@ if (is_metaconsole() === true) {
}
$is_management_allowed = true;
if (is_management_allowed() === false) {
if (is_metaconsole() === false && is_management_allowed() === false) {
$is_management_allowed = false;
ui_print_warning_message(
__(