Allow users to modify specific properties of their accounts
By default, all users have the permission to modify some properties of their own accounts. The permission is granted by a built-in security role, User self-service. The role enables users to modify only the properties that belong to the Personal Information and Web Information property sets.
Personal Information {id=collapse1}
Property | Name in schema |
---|---|
Assistant | assistant |
Notes | info |
Picture | thumbnailPhoto |
Personal Title | personalTitle |
Street Address | streetAddress |
Home Address | homePostalAddress |
Country | c |
Country Code | countryCode |
Country Name | co |
City | l |
Office | physicalDeliveryOfficeName |
P.O.Box | postOfficeBox |
Home Address | postalAddress |
Zip/Postal Code | postalCode |
Registered Address | registeredAddress |
State/Province | st |
Street | street |
Preferred Delivery Method | preferredDeliveryMethod |
Telephone Number | telephoneNumber |
Telephone Number (Other) | otherTelephone |
Mobile Phone | mobile |
Mobile Phone (Other) | otherMobile |
Home Phone | homePhone |
Home Phone (Other) | otherHomePhone |
Fax | facsimileTelephoneNumber |
Fax (Other) | otherFacsimileTelephoneNumber |
IP Phone | ipPhone |
IP phone (Other) | otherIpPhone |
Pager | pager |
Pager (Other) | otherPager |
International ISDN Number | internationalISDNNumber |
Primary Telex Number | primaryTelexNumber |
Telex Number | telexNumber |
MSMQ Digests | mSMQDigests |
MSMQ Sign Certificates | mSMQSignCertificates |
Primary ISDN Number | primaryInternationalISDNNumber |
Teletex Terminal Identifier | teletexTerminalIdentifier |
User Certificate | userCertificate |
User-Cert | userCert |
User Shared Folder | userSharedFolder |
User Shared Folder (Other) | userSharedFolderOther |
User SMIME Certificate | userSMIMECertificate |
X121 Address | x121Address |
Web Information {id=collapse2}
Property | Name in schema |
---|---|
Web Page | wWWHomePage |
Web Page (Other) | url |
In this tutorial, you will learn how to grant users the rights to modify specific properties of their own accounts and how to configure Adaxes Web interface to enable users to edit these properties.
Grant permissions
To allow users to modify properties of their own accounts, you need to add the corresponding permissions to the built-in security role User self-service.
Permissions granted by security roles are effective only within Adaxes.
-
Launch Adaxes Administration console.
How {id=launchConsole}
-
On the computer where Adaxes Administration console is installed, open Windows Start menu.
-
Click Adaxes Administration Console.
-
-
Expand Adaxes service \ Configuration \ Security Roles \ Builtin and select the User self-service role.
-
In the Permissions section on the right, click Add.
-
To add a permission to modify a property:
-
In the list of object types, select User.
-
In the Property-specific permissions list, select the desired permission in the Allow column.
If the property you need is not available in the list, select the Show all properties checkbox.
-
-
Click OK and then click Save changes.
Any changes made to built-in security roles can be discarded. To do it, right-click a role and then click Restore to Initial State in the context menu.
Customize Web interface
To enable users to modify a specific property of their accounts in the Web interface, you need to add a corresponding field to the form used to edit own user accounts.
-
Open Adaxes Web interface configurator.
How
-
On the computer where Web interface configurator is installed, open Windows Start menu.
-
Click Adaxes Web Interface Configurator.
To configure the Web interface, you need to have the appropriate permissions.
Permissions
The permissions to configure the Web interface are delegated via security roles. By default, only service administrators have the appropriate permissions. To enable other users to configure the Web interface, grant them the corresponding permissions.
To create a security role that grants the permissions to configure Web interface:
-
In Adaxes Administration console, right-click your Adaxes service, point to New and click Security Role.
-
Enter a name for the new security role and click Next.
-
On the Permissions step, click the down arrow embedded into the Add button and click Configure Web Interface.
-
Click Next and follow the steps in the wizard.
-
-
In the top left corner, select Self Service.
-
In the left navigation menu, click Management.
-
In the Forms and views section, select My account in the drop-down list.
If the list doesn't contain the My account item, click Manage object types in the drop-down, then click Add and select My account.
-
Activate the Modify tab.
-
Select the section where you want to add a new field and click Add below the Fields list.
-
Select the property you want to add to the form and click OK.
-
Save the changes.
For more details on how to customize forms and views in Web Interface, see Customize forms for user creation and editing.