-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4798 from alkem-io/authorization-lookup
authorization resolver
- Loading branch information
Showing
4 changed files
with
555 additions
and
1 deletion.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
src/services/api/lookup/dto/lookup.query.my.privileges.results.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { ObjectType } from '@nestjs/graphql'; | ||
import { AuthorizationPrivilege } from '@common/enums/authorization.privilege'; | ||
|
||
@ObjectType() | ||
export class LookupMyPrivilegesQueryResults { | ||
// exposed through the field resolver | ||
community!: AuthorizationPrivilege[]; | ||
collaboration!: AuthorizationPrivilege[]; | ||
context!: AuthorizationPrivilege[]; | ||
profile!: AuthorizationPrivilege[]; | ||
callout!: AuthorizationPrivilege[]; | ||
post!: AuthorizationPrivilege[]; | ||
room!: AuthorizationPrivilege[]; | ||
innovationFlow!: AuthorizationPrivilege[]; | ||
template!: AuthorizationPrivilege[]; | ||
whiteboard!: AuthorizationPrivilege[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.