Wrapping function that checks all available role group constraints for all core objects and its roles after the given function was executed.
Wrapping function that checks all available role group constraints for all core objects and its roles after the given function was executed. Throws a RuntimeException if a role group constraint is violated!
the function to execute and check role group constraints afterwards