870b51d054
- 接入平台与企业角色权限,按权限展示菜单、页面及操作。 - 企业成员排行按需加载,翻页沿用同一榜单快照,保留连续名次与前三名样式。 - 更新消费日志的费用明细、超管指标和官方价格汇率设置,补齐翻译与回归测试。
35 lines
1.1 KiB
JavaScript
35 lines
1.1 KiB
JavaScript
/*
|
|
Copyright (C) 2025 QuantumNous
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as
|
|
published by the Free Software Foundation, either version 3 of the
|
|
License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
For commercial licensing, please contact support@quantumnous.com
|
|
*/
|
|
|
|
export { AuthzContext, AuthzProvider } from './AuthzProvider';
|
|
export {
|
|
usePerm,
|
|
useAnyPerm,
|
|
useAuthzView,
|
|
useAuthzReload,
|
|
useOrgViewReady,
|
|
} from './usePerm';
|
|
export { default as Perm } from './Perm';
|
|
export {
|
|
default as PermRoute,
|
|
ConsoleRoute,
|
|
ConsoleIndexRoute,
|
|
} from './PermRoute';
|
|
export { checkPerm, checkAnyPerm, buildMenuTree } from './permLogic';
|