Hi! I got multiple Company using the same database. Is there anyway that i can set one of the Company to read only for everyone except the SA? What's the easiest way to do this?
The current roles that the users have, you have assign them for every company.
For example
if a user has assigned role inventory. and you have 3 companies.
you would assign
inventory company A
inventory Company B
Now for Readonly company. Create a new role NEWReadRole
This assign to this role all the tables with read permission.
And assign it to users
NewReadRole Company C.
Ahmed Rashed Amini
Independent Consultant/Developer
well you can have just have object no zero (0) and not all the tables. So One record. with value zero and set it to read only.
Take a look at the all Role for forms codeunits and reports. You would have those objects and in addition have tabledata with zero ID. but only readonly
Ahmed Rashed Amini
Independent Consultant/Developer
Comments
For example
if a user has assigned role inventory. and you have 3 companies.
you would assign
inventory company A
inventory Company B
Now for Readonly company. Create a new role NEWReadRole
This assign to this role all the tables with read permission.
And assign it to users
NewReadRole Company C.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Do you mean that i have to create a new role(copy paste from the existing role) and change the permission to read for every objects in that role?
Take a look at the all Role for forms codeunits and reports. You would have those objects and in addition have tabledata with zero ID. but only readonly
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n