Question

Remove record read permission by using script task

I have a business requirement in which end of every month I have to remove the read permission  for particular users as per their role. I cant achieve this requirement by simply using business process as there will be 20000+ records. 

Is there any solution for this problem ?

I thought of using the script task but I have no idea how to remove permissions using script task .

Like 0

Like

1 comments

Hello Rahul,

 

Hope you're doing well.

 

The limit in 20 000 records is a default value that is set in the MaxEntityRowCount string of the Web.config file (which is located in Your_Site\Terrasoft.WebApp directory). So for operating with a bigger number of records (for example, 30 000) during running the business process can be reached by increasing the MaxEntityRowCount value (if it's a Cloud deployed site you will need to make a request to our support team), but the issue is that it can affect the website performance. For example, if you leave MaxEntityRowCount with a value equal, let's say 60 000,  and the client will be importing a big amount of records or more on the regular basis, the website might experience downtime someday.

 

Also, you can try to use the "Access rights setup wizard for Creatio" add-on for mass change of access rights to existing section records.

 

Additionally, you can review the next posts, it might help to perform your business task as well:

https://community.creatio.com/questions/operation-permission-process

https://community.creatio.com/questions/access-distribution-demand

https://community.creatio.com/questions/deployment-permissions

 

Best regards,

Roman

Show all comments