Delete a Role: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
JMU (talk | contribs)
No edit summary
No edit summary
 
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Deleting a role removes the role from IMSMA. A role cannot be removed if users are assigned to use the role.
{{Note| A Role cannot be deleted if Users are assigned to use the Role. Be aware that the ''imsma'' user is assigned the four predefined Roles.}}


{{Warning|Be careful not to delete the 'Operations'' Role without first having assigned the ''User Admin'' or ''Role Admin'' permissions to another Role. If the ''User Admin'' or ''Role Admin'' permissions are not assigned to a Role, it will not be possible to add, change, or delete {{IMSMANG}} Users and Roles.}}


<ol>
<li>In the '''Accounts''' menu &rarr; '''Roles'''.</li>


{| class="wikitable"
[[Image:Role window1.png|350px|center]]<br/>
|-
|[[File:LightBulb.png|20px|<span title=""></span>]] Although the permissions assigned to the default roles can be changed,
be careful not to remove the User Admin or Role Admin permissions from
the Operations role without first having those permissions assigned to
another role. If the User Admin or Role Admin permissions are not assigned
to a role, it will not be possible to add, change, or remove IMSMA users and roles.
|}


To remove a Role:
<li>Click the name of the Role you would like to delete.</li>
#From the '''Accounts''' menu select '''Roles'''.
<li>Click the [[Image:EcksButton.png|20px]] button.</li>
The Role List window disppalys.
</ol>
#Click the name of the role you would like to remove.
#Click the [[File:Remove.png|20px|<span title=""></span>]] button.


{| class="wikitable"
<ol>
|-
:If the Role is not in use, the '''Verify Role Deletion''' window displays. To continue deleting the Role, click the '''Yes''' button; otherwise, click the '''No''' button.
| [[File:LightBulb.png|20px|<span title=""></span>]] Be aware that the ''imsma'' user is assigned the four default roles.
</ol>
|}


::If the role is not in use, the '''Verify Role Deletion''' window displays. To continue deleting the role, click the '''Yes''' button; otherwise, click the '''No''' button.
{{Note | The following error message indicates that the Role is assigned to a User.
:''The role is assigned to a user and cannot be deleted.''
Click the '''OK''' button. If you would like to delete the role, you will first need to delete the role from the users who are currently using it.}}


{| class="wikitable"
{{NavBox HowTo Users and Roles}}
|-
 
| The following error [[File:Error Message.png|20px|<span title=""></span>]] message indicates that the role is assigned to a user.
[[Category:NAA]]
::The role is assigned to a user and cannot be deleted.
Click the '''OK''' button. If you would like to remove the role, you will first need to remove the role from the users who are currently using it.
|}

Latest revision as of 08:39, 15 June 2017

A Role cannot be deleted if Users are assigned to use the Role. Be aware that the imsma user is assigned the four predefined Roles.
Be careful not to delete the 'Operations Role without first having assigned the User Admin or Role Admin permissions to another Role. If the User Admin or Role Admin permissions are not assigned to a Role, it will not be possible to add, change, or delete IMSMANG Users and Roles.
  1. In the Accounts menu → Roles.

  2. Click the name of the Role you would like to delete.
  3. Click the button.
    If the Role is not in use, the Verify Role Deletion window displays. To continue deleting the Role, click the Yes button; otherwise, click the No button.
The following error message indicates that the Role is assigned to a User.
The role is assigned to a user and cannot be deleted.

Click the OK button. If you would like to delete the role, you will first need to delete the role from the users who are currently using it.

{{#switch:|subgroup|child=|none=|#default=

{{#if:|<th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|}}{{#if:|{{#if:Customising IMSMANG|}}}}{{#if:{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:delete a role

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|{{#if:Customising IMSMANG|}}{{#if:|

{{{imageleft}}}

}}{{#if:Defining Roles, Permissions and Users|Defining Roles, Permissions and Users<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=

|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:delete a role

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}{{#if:|

{{{image}}}

}}}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:delete a role

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group2}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list2}}}

}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:delete a role

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group3}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list3}}}

}}{{#if:|{{#if:|{{{group4}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list4}}}

}}{{#if:|{{#if:|{{{group5}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list5}}}

}}{{#if:|{{#if:|{{{group6}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list6}}}

}}{{#if:|{{#if:|{{{group7}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list7}}}

}}{{#if:|{{#if:|{{{group8}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list8}}}

}}{{#if:|{{#if:|{{{group9}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list9}}}

}}{{#if:|{{#if:|{{{group10}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list10}}}

}}{{#if:|{{#if:|{{{group11}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list11}}}

}}{{#if:|{{#if:|{{{group12}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list12}}}

}}{{#if:|{{#if:|{{{group13}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list13}}}

}}{{#if:|{{#if:|{{{group14}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list14}}}

}}{{#if:|{{#if:|{{{group15}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list15}}}

}}{{#if:|{{#if:|{{{group16}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list16}}}

}}{{#if:|{{#if:|{{{group17}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list17}}}

}}{{#if:|{{#if:|{{{group18}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list18}}}

}}{{#if:|{{#if:|{{{group19}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list19}}}

}}{{#if:|{{#if:|{{{group20}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list20}}}

}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:delete a role

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}

{{{below}}}

}}{{#switch:|subgroup|child=

|none=|#default=}}{{#ifeq:|Template|{{#ifeq:|child||{{#ifeq:|subgroup||{{#switch:delete a role
|doc
|sandbox
|testcases =
|#default = {{#switch:hlist
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}