Skip to content

Commit

Permalink
fix: fix rebase issues
Browse files Browse the repository at this point in the history
JIRA: TRIVIAL
  • Loading branch information
xMort committed Nov 23, 2023
1 parent ec0808b commit 1f2e4f3
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions libs/api-client-tiger/api/api-client-tiger.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7326,6 +7326,8 @@ export interface IUserProfile {
// (undocumented)
organizationName: string;
// (undocumented)
permissions?: string[];
// (undocumented)
userId: string;
}

Expand Down
Binary file modified libs/api-client-tiger/gooddata-api-client-tiger-0.0.0-dev.0.tgz
Binary file not shown.
1 change: 1 addition & 0 deletions libs/api-client-tiger/src/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface IUserProfile {
organization: string;
};
features?: ILiveFeatures | IStaticFeatures;
permissions?: string[];
}

export interface ProfileApiInterface {
Expand Down
Binary file modified libs/sdk-backend-tiger/gooddata-sdk-backend-tiger-0.0.0-dev.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ import {
* as a container for full name and lastname will be an empty string
*/
export const convertUser = (user: IUserProfile): IUser => {
const { name, userId, links, organizationName } = user;
const { name, userId, links, organizationName, permissions } = user;

return {
ref: uriRef(links!.user!),
login: userId!,
fullName: name,
organizationName: organizationName,
permissions,
};
};

Expand Down
1 change: 1 addition & 0 deletions libs/sdk-model/api/sdk-model.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3027,6 +3027,7 @@ export interface IUser {
lastName?: string;
login: string;
organizationName?: string;
permissions?: string[];
ref: ObjRef;
}

Expand Down
Binary file modified libs/sdk-model/gooddata-sdk-model-0.0.0-dev.0.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions libs/sdk-model/src/user/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ export interface IUser {
* Organization name - when backend implementations supports it.
*/
organizationName?: string;

/**
* Permission of the user
*/
permissions?: string[];
}

/**
Expand Down
Binary file modified tools/plugin-toolkit/gooddata-plugin-toolkit-0.0.0-dev.0.tgz
Binary file not shown.

0 comments on commit 1f2e4f3

Please sign in to comment.