Skip to content

Instantly share code, notes, and snippets.

@heiko-braun
Last active October 1, 2015 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heiko-braun/0dc810ed04db8739defd to your computer and use it in GitHub Desktop.
Save heiko-braun/0dc810ed04db8739defd to your computer and use it in GitHub Desktop.
WFCore-994 RBAC setup
<management>
<access-control provider="rbac">
<host-scoped-roles>
<role name="master-monitor" base-role="Monitor">
<host name="master"/>
</role>
<role name="slave-maintainer" base-role="Maintainer">
<host name="slave"/>
</role>
</host-scoped-roles>
<role-mapping>
<role name="SuperUser">
<include>
<user name="$local"/>
</include>
</role>
<role name="Administrator">
<include>
<user name="admin"/>
</include>
</role>
<role name="master-monitor">
<include>
<user name="peter"/>
</include>
</role>
<role name="slave-maintainer">
<include>
<user name="paul"/>
</include>
</role>
</role-mapping>
</access-control>
</management>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment