Skip to content

Commit

Permalink
Merge branch 'feature/org-control' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Mar 22, 2022
2 parents 1340940 + 38d460d commit 934b2b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mocks/handlers/data/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ clientPermissions:
id: b444a5a1-8e14-4f92-9005-8b476b977e25
permissions:
- id: 0d793387-6617-4cb4-87a3-76478c368849
name: orgcontrol permission for role data-custodian
name: Access to 'orgcontrol' services for role data-custodian
type: scope
logic: POSITIVE
decisionStrategy: UNANIMOUS
Expand Down
4 changes: 2 additions & 2 deletions src/test/services/org-groups/org-group.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Org Group Access Service', function () {
parent: '/data-custodian/ministry-citizens-services',
};
const name = kc.getGroupPermissionName(orgGroup, 'res123');
expect(name).toBe('res123 permission for role data-custodian');
expect(name).toBe("Access to 'res123' services for role data-custodian");
});

it('it should getValidRoles', async function () {
Expand Down Expand Up @@ -238,7 +238,7 @@ describe('Org Group Access Service', function () {
o(result);
expect(result.length).toBe(1);
expect(result[0].name).toBe(
'orgcontrol permission for role data-custodian'
"Access to 'orgcontrol' services for role data-custodian"
);
expect(result[0].config.policies[0].name).toBe(
'group-data-custodian-ministry-citizens-services-databc-policy'
Expand Down

0 comments on commit 934b2b6

Please sign in to comment.