As with duties, creating roles is a simple process and we have already covered most of the concepts. The role has four nodes:
The Sub Roles node is interesting, as it allows us to create a nested role. The parent inherits the attributes from the Sub Roles node, and can tailor them further.
You can have only three levels of roles. The warning AX gives you only counts roles that have the Enabled property set to
Yes; but the compiler requires that three is the maximum level, regardless of whether or not it is enabled.
The three-level limit may seem to be a limitation at the first glance, but Sub Roles are actually rarely used. They tend to bring more complexity than benefits.
In our case, we will ...