Skip to content

Commit 0b6b1c3

Browse files
corya-akamaiConal Ryan
andauthored
feat: [UIE-8946]: IAM RBAC - Permission Hook 1 (linode#12411)
Co-authored-by: Conal Ryan <[email protected]>
1 parent 6bdf6c7 commit 0b6b1c3

File tree

23 files changed

+567
-497
lines changed

23 files changed

+567
-497
lines changed

packages/api-v4/src/iam/iam.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { BETA_API_ROOT } from '../constants';
22
import Request, { setData, setMethod, setURL } from '../request';
33

44
import type {
5-
EntityTypePermissions,
5+
AccessType,
66
IamAccountRoles,
77
IamUserRoles,
88
PermissionType,
@@ -84,12 +84,12 @@ export const getUserAccountPermissions = (username: string) =>
8484
* Returns the current permissions for this User on the entity.
8585
*
8686
* @param username { string } the username to look up.
87-
* @param entityType { EntityTypePermissions } the entityType to look up.
87+
* @param entityType { AccessType } the entityType to look up.
8888
* @param entityId { number } the entityId to look up.
8989
*/
9090
export const getUserEntityPermissions = (
9191
username: string,
92-
entityType: EntityTypePermissions,
92+
entityType: AccessType,
9393
entityId: number,
9494
) =>
9595
Request<PermissionType[]>(

0 commit comments

Comments
 (0)