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
|
|
@ -1,9 +1,9 @@
|
|||
export const getRedirection = (
|
||||
isCurrentWorkspaceManager: boolean,
|
||||
isCurrentWorkspaceEditor: boolean,
|
||||
app: any,
|
||||
redirectionFunc: (href: string) => void,
|
||||
) => {
|
||||
if (!isCurrentWorkspaceManager) {
|
||||
if (!isCurrentWorkspaceEditor) {
|
||||
redirectionFunc(`/app/${app.id}/overview`)
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue