Check which objects need Permission Property based on license

dral2011dral2011 Member Posts: 3
I am using Customer License and when I run one customized Codeunit I receive the message "You do not have permission to modify table 122...".
And this is the right message because the customer license has only indirect Modify permission in Table 122.
I know that I should add this table in Permission Property as it was missing there.
But I would like to know in general, is there any possibility to identify all objects for which I need to populate Permission Property based on license that I upload (without running the object)?

Best Answer

Answers

  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    You can find what is included in your license by building a page or a report on a virtual tables License Permission or Permission Range.

    But this will not tell you what you *should* add - this basically depends on the code inside objects, and can be derived from analyzing object's code.
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • dral2011dral2011 Member Posts: 3
    Yes, I have checked with report both from License Permission and Permission Range and I know which tables are with indirect Modify permission but I was thinking of this other option and couldn't find myself until now a solution.
    Anyhow, thank you very much for your answer.
  • dral2011dral2011 Member Posts: 3
    I will give a try to this tool.

    Thank you very much
Sign In or Register to comment.