Read Only Field in Form

General discussion of using Adaxes for Active Directory management and administration
Post Reply
KevinDownward
Posts: 5
Joined: Wed Mar 13, 2019 9:13 am

Read Only Field in Form

Fri Mar 15, 2019 7:49 am

I have a field (Extension attribute 13) tha automatically populates or removes the data dependant on another field.

Then in the forms and views I have created the field in the view so we can see the field however as it is automatically populated I haven't added it to the create or modify forms because I do not want the users to change it.

My question is is it possible to add the field to the create or modify form but to make it read only for the user?
Attachments
Capture.PNG
Capture.PNG (27.88 KiB) Viewed 268 times

User avatar
Support
Site Admin
Posts: 2343
Joined: Thu Apr 23, 2009 2:28 am

Re: Read Only Field in Form

Fri Mar 15, 2019 10:24 am

Hello Kevin,

Unfortunately, there is no possibility to add a property to the Create form as read-only. As for the Modify form, you can add the field to the form the same way as you added it to the View form. To make the property read-only, you need to deny the write permission for the property via a Security Role. To create the role:
  1. Launch Adaxes Administration Console.
  2. In the Console Tree, right-click your Adaxes service.
  3. In the context menu, navigate to New and click Security Role.
    New.security.role.png
    New.security.role.png (8.39 KiB) Viewed 258 times
  4. On the step 2 of the Create Security Role wizard, click Add.
  5. Select User object type.
  6. In the Property-specific permissions section, select Allow Read ‘Extension Attribute 13’ Property and Deny Write ‘Extension Attribute 13’ Property.
    Add.permissions.png
    Add.permissions.png (25.86 KiB) Viewed 258 times
  7. Click OK.
  8. Click Next and finish creating the Security Role. The role should look like the following:
    Role.look.png
    Role.look.png (8.61 KiB) Viewed 258 times
Active Directory Identity Management

Follow Adaxes in social networks
Image Image Image

KevinDownward
Posts: 5
Joined: Wed Mar 13, 2019 9:13 am

Re: Read Only Field in Form

Mon Mar 18, 2019 5:01 am

Great thanks for the info

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests