-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/iot 1583 move application (#265)
* Added endpoint for application admins, to get a slimmer version of permissions. * Cleanup --------- Co-authored-by: Frederik Christ Vestergaard <[email protected]>
- Loading branch information
1 parent
7321dfd
commit dcfe7c0
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { Permission } from "@entities/permissions/permission.entity"; | ||
import { ListAllEntitiesResponseDto } from "./list-all-entities-response.dto"; | ||
|
||
export type PermissionsSlimDto = Pick<Permission, "id" | "name" | "automaticallyAddNewApplications"> & { | ||
organization: { id: number }; | ||
}; | ||
export class ListAllPermissionsSlimResponseDto extends ListAllEntitiesResponseDto<PermissionsSlimDto> {} |