Create tests for backend to list grants and for core to get inherited roles and direct roles