rights

Hello team!

I set up objects permissions by records for accounts. But still it doesn't apply for all the records. What is the reason?

File attachments

Like

5 comments

Hi Jake.

After you set up objects permissions by records it is applied only for newly created records. I'm attaching a script that will spread it for all existing records.script.txt

Thanks Olly, that helped

This is an old post, but just getting involved with bpm’online this year in 2017 and the issue still seems very relevant.  I would like to get an updated response and script for this issue.  The current script:  1) doesn't appear to be valid with the current version of 7.10  as there are invalid table references. 2) has static references to two GUID values to populate a “sourceid” field – can you explain these values and what they need to be or reference?  3) appears to target only one object at a time (e.g. Account), is it possible to have a script reapply to all relevant permission managed objects or optionally choose one?  (e.g. reapply all objects or just Account)

Considering a larger picture, I am curious why this feature or option is not available via the Object Permissions interface? Seems this would be desirable option…with the understanding it may take some time to complete.

Dear Stephen,

Here are the answers to your questions:

1. The scrips that were provided to you here (https://community.bpmonline.com/discussion/10824) are valid for the 7.10 version.  In case you face anty difficulties with running them, please write to support@bpmonline.com with the error description and screenshots. We'll investigate the issue. 

2. As for the GuId value and 'SourceID' field, you don't need to change it at all - the only thing that should be changed in the object you need to set up the rights for.  SourceId refers to the Record Right Source (Owner, Author, Manual, Default) and GuId refers to the records identificators. 

3. You are correct - to re-distribute the rights for every object, you need to run the separate script. We already have providing the option to distribute the rights for the existing records in mind. Our R&D team will consider adding the functionality in the further releases. 

Thank you for your feedback!

Lisa

Thanks, I have created my own custom script found here as an attached file (https://community.bpmonline.com/discussion/10824).  Hopefully you have followed that thread as well.  Let me know what you think.

Show all comments