mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-31 19:12:46 +00:00
Some checks are pending
Deploy image by kubeconfig / build-fastgpt-docs-images (push) Waiting to run
Deploy image by kubeconfig / update-docs-image (push) Blocked by required conditions
Deploy image to vercel / deploy-production (push) Waiting to run
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
* app folder * feat: app foldere * fix: run app param error * perf: select app ux * perf: folder rerender * fix: ts * fix: parentId * fix: permission * perf: loading ux * perf: per select ux * perf: clb context * perf: query extension tip * fix: ts * perf: app detail per * perf: default per
16 lines
390 B
TypeScript
16 lines
390 B
TypeScript
import { PerConstructPros, Permission } from '../controller';
|
|
import { AppDefaultPermissionVal } from './constant';
|
|
|
|
export class AppPermission extends Permission {
|
|
constructor(props?: PerConstructPros) {
|
|
if (!props) {
|
|
props = {
|
|
per: AppDefaultPermissionVal
|
|
};
|
|
} else if (!props?.per) {
|
|
props.per = AppDefaultPermissionVal;
|
|
}
|
|
super(props);
|
|
}
|
|
}
|