currentappusergrantedpage

I am curious about this function available in the Page Expression area - CurrentAppUserGrantedPage that takes a pageid parameter. Given that you cannot grant permissions at the page level - what is this function doing?

Comments

  • @Arlette Slachmuylder

    You can assign permissions on a page by system role. If the user has that role, they can have access to whatever you are using the expression for.

  • @Lisa Fields
    Hi Lisa - you can assign the parts on the page system roles, but not the page itself, no? For example, I can assign a dataform a system role and place that dataform on one or more pages. But I cannot assign a system role to a page apart from the parts on the page, or am I missing something?

  • @Arlette Slachmuylder not sure what you mean but you can permission pages by system role?

    610bbc88e6470d823d81525d1eb16740-huge-im


  • @Lisa Fields
    Thanks Lisa - but you see how you have the “tree navigation” - you are really assigning permissions to the component and not the page. In you screenshot you are assigning permissions to the Expression View Form. If you create a page that has nothing on it - you will see that you cannot assign permissions. Or if you assign permissions to a dataform on one page, then put that same dataform on a second page, you will see the same set of permissions on the second page.

  • @Arlette Slachmuylder ok. I'm pretty new to this so assumed this was the page.

  • @Arlette Slachmuylder This function checks for permission to the view form specified in the ExpressionDataFormID property on the page. This basically acts as a proxy for determining if a user should have access to a page at all. This check is also performed when a user tries to navigate to a page either through search or through a page action. For pages without the ExpressionDataFormID property, this check will return true.

Categories