Set company to read only

dkbleedkblee Member Posts: 41
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?
Thks!

Comments

  • ara3nara3n Member Posts: 9,257
    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


    blog: https://dynamicsuser.net/nav/b/ara3n
  • dkbleedkblee Member Posts: 41
    Hi!

    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?
    Thks!
  • ara3nara3n Member Posts: 9,257
    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


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.