DNNCommunity / DNN.FormAndList

Design your own table complete with field types, validation and custom user permissions.
MIT License
28 stars 20 forks source link

Permissions to add and edit gives ability too many functions #104

Closed shash99 closed 1 year ago

shash99 commented 1 year ago

Describe the bug

Giving a role with the following abilities gives more than just add / edit a record. image

image

Expected behavior

I expect to only see the Add New record as shown below image

Screenshots

If applicable, add screenshots to help explain your problem.

Error log

Additional context

Add any other context about the problem here.

shash99 commented 1 year ago

form and list v6.5.5 DNN v9.10.6

shash99 commented 1 year ago

I found a solution. This is for a list type form and list module. This will allow the user granted the role to add the record only and not give the access to the modules edit features.

Edit form and list configuration/page related settings and check "Action as buttons" This puts a button on the module to add a record. Then set the permissions as follows: Uncheck: Edit Content Check: Edit Record, Delete Record, Create Record/Submit Form

image