3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 20:35:02 +00:00

Add support for API permission expiry

This commit is contained in:
Dragory 2021-09-05 13:53:46 +03:00
parent 2b8f75b91b
commit 947a49761e
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
5 changed files with 42 additions and 0 deletions

View file

@ -18,6 +18,9 @@ export class ApiPermissionAssignment {
@Column("simple-array")
permissions: string[];
@Column()
expires_at: string;
@ManyToOne(
type => ApiUserInfo,
userInfo => userInfo.permissionAssignments,