feat: handle error delete role.

This commit is contained in:
elforjani13
2021-11-27 18:51:35 +02:00
parent 8b28d6894f
commit 0c806366cd
4 changed files with 31 additions and 3 deletions

View File

@@ -1485,5 +1485,7 @@
"roles.permission_schema.once_delete_this_role_you_will_able_to_restore_it":"Once you delete this role, you won't be able to restore it later. Are you sure you want to delete this role?",
"users.column.role_name":"Role Name",
"roles.error.you_cannot_edit_predefined_roles":"You cannot edit predefined roles.",
"roles.error.you_cannot_delete_predefined_roles":"You cannot delete predefined roles."
"roles.error.you_cannot_delete_predefined_roles":"You cannot delete predefined roles.",
"roles.error.the_submit_role_has_invalid_permissions":"The submit role has invalid permissions.",
"roles.error.you_cannot_delete_role_that_associated_to_users":"You cannot delete role that associated to users"
}