Company security on a report

m.gretenerm.gretener Member Posts: 13
edited 2006-01-11 in Navision Attain
I have different companies in Navision 3.7. One of them is the holding to which none of the normal users have access. Through a report I want to enable users to view some information from that company via CHANGECOMPANY. How can I make this work without giving the different users access to the Company.

With kind regards,
Marc G.

Answers

  • krikikriki Member, Moderator Posts: 9,112
    If I am not mistaken, if a user uses that report and a CHANGECOMPANY happens to a table in a company he is NOT allowed to see, he will get an error. But to be sure, you have to test it.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • m.gretenerm.gretener Member Posts: 13
    Yes, I already tested this. There is an error because the user has no rights to the other company. But how can I enable the report to run, without enabling security rights for the user to the other company?

    Is this for example possible by something like:
    Get UserId.
    Userid becomes Administrator
    run report
    change userid to former UserId

    or is there a simpler solution; function?
  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    Have you tried to change the permissions on the report? Does this override the permissions in the user setup?

    If this does not work, the only solution is to give (indirect) rights to the other company.
  • davmac1davmac1 Member Posts: 1,283
    If you are running the SQL Server version, you can create a view in the one company that provides the allowable data from the other company and provide permissions to the Navision table linked to that view.
  • krikikriki Member, Moderator Posts: 9,112
    Give the users a role with Indirect-read permissions in the tables which the report uses. In the report, you give permission to read those tables.So the users can never access the table directly, but the report can do it (=indirect permission).
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.