feat: new editor user permission profile (#4435)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com> Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
parent
cdb6c801c1
commit
8bcc5a36bb
49 changed files with 246 additions and 126 deletions
|
|
@ -64,7 +64,7 @@ export type TenantInfoResponse = {
|
|||
export type Member = Pick<UserProfileResponse, 'id' | 'name' | 'email' | 'last_login_at' | 'created_at'> & {
|
||||
avatar: string
|
||||
status: 'pending' | 'active' | 'banned' | 'closed'
|
||||
role: 'owner' | 'admin' | 'normal'
|
||||
role: 'owner' | 'admin' | 'editor' | 'normal'
|
||||
}
|
||||
|
||||
export enum ProviderName {
|
||||
|
|
@ -125,7 +125,7 @@ export type IWorkspace = {
|
|||
}
|
||||
|
||||
export type ICurrentWorkspace = Omit<IWorkspace, 'current'> & {
|
||||
role: 'normal' | 'admin' | 'owner'
|
||||
role: 'owner' | 'admin' | 'editor' | 'normal'
|
||||
providers: Provider[]
|
||||
in_trail: boolean
|
||||
trial_end_reason?: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue