Edit me

Role Management

We can manage menus visibility and college’s accessibility under role Management section.

Create

Step-1: Click on Admin->Role Management->New Role. DB role form will appear.

Visibility of Menus

We can set visibility of menus for a user under this section.

Output:

Accessibility of College

We can colleges for accessibility clicking on + sign.

Output: We can change college clicking on change.

List

Edit

Import Role

To import exam details, click on Role Management -> Import Role. Form will appear. Download the template. Fill the details in the template.

Steps for Test Menu Permission:

Firstly entered row in ApplicationSettings.

Set SettingKey=Appcode.menu like nclgmgr.menu

Set SettingValue=Menu permission keys from menu definition of application.

E.g.: ID_mnu1Student,ID_Student,ID_NewStuPerson

Note: if ApplicationSettings is empty, it’s means all keys are available.

Step.1 Check DBrole Active or Not.

Active: At Least one row available in DBrole

Not Active: If DBrole is Empty

Step.2 If Dbrole not active then (No Need to check Dbrole)

If User is Superadmin then :

Showing all Tenant + Admin Level menu’s which keys are entered in SettingValue in Applicationsettings.

If User is not Superadmin then:

Showing only Tenant Level menu’s which keys are entered in SettingValue in Applicationsettings.

Step.3 If DBrole active then :( Now Check Dbrole first)

Now Check Roleid in Users Table

Case.1: if roleid =2 in users table then:

If User is Superadmin then

Showing all Tenant+Admin Level menu’s which keys are entered in Permissionlist in Dbrole and Applicationsettings (if keys are define in Applicationsettings).

If User is not Superadmin then

Showing Only Tenant Level menu’s which keys are entered in Permissionlist in Dbrole and Applicationsettings (if keys are define in Applicationsettings).

Case.2: if roleid =1 in users table then:

If User is Superadmin then

Showing Tenant+Admin Level menu’s which keys are entered in SettingValue in Applicationsettings.

If User is not Superadmin then

Showing Only Tenant Level menu’s which keys are entered in SettingValue in Applicationsettings.