New Tool: Portal Entity Permission Manager

Working with Entity Permissions for Power Apps Portals is not always as smooth as you might want it to be. This new tool lets you visually see and work with the different types of permissions and their hierarchies, and makes it easier to get it right the first time.

To get started with this XrmToolBox tool, see the short video tutorial at the end of this post!

Tool overview

The different components of the tool:

  1. The websites in connected environment are listed for initial selection.
  2. The treeview is the main hierarchical overview of the Entity Permissions for the website.
    1. Scope is visualized by the icon.
    2. Entity Permissions of scope Parent are displayed under their parent permission
    3. Names of the nodes in the treeview can display either their given Name, or a technical representation of the target Table and the relationship used.
  3. There are four nice and big buttons to work with the Entity Permissions.
    1. Create new Entity Permission.
    2. Create new Child Entity Permission, which will get the currently selected permission as Parent.
    3. Delete currently selected Entity Permission. This is not available if the selected permission has any child permissions.
    4. Open selected Entity Permission in Microsoft Dataverse.
  4. The Entity Permission “form” to display and update information.
    1. The selections are “intelligent”, only displaying options that are really available.
    2. Available tables are only showing those with any kind of direct relationship to the “previous” table, based on Scope and possible Parent permission.
    3. Available relationships are only displaying existing direct relationships between the “previous” and the “current” table.
  5. The Save button is enabled when the tool discovers any changes to the Entity Permission, compared to information stored in Dataverse.
  6. Associated Webroles are displayed.
  7. Webroles can be added and removed.

Checking “Show debug info” will display a panel containing the actual changes to columns on the current Entity Permission row which will be sent to Dataverse when clicking Save.

Forum / Discussion

Join the discussion:


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.