Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-smart
Commits
7b11bc7c
Commit
7b11bc7c
authored
Aug 09, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.菜单授权仅展示有权限的
parent
762c272d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
18 deletions
+15
-18
XS0702.xml
src/main/java/com/baosight/xservices/xs/sql/XS0702.xml
+15
-18
No files found.
src/main/java/com/baosight/xservices/xs/sql/XS0702.xml
View file @
7b11bc7c
...
@@ -22,24 +22,21 @@
...
@@ -22,24 +22,21 @@
node_ename not in
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"notNodeEnames"
>
#notNodeEnames[]#
</iterate>
node_ename not in
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"notNodeEnames"
>
#notNodeEnames[]#
</iterate>
</isNotEmpty>
</isNotEmpty>
<!-- 非管理员非root节点仅显示有权限的菜单 added by songx at 20240126 -->
<!-- 非管理员非root节点仅显示有权限的菜单 added by songx at 20240126 -->
<isNotEqual
property=
"node"
compareValue=
"root"
>
<isEqual
prepend=
" AND "
property=
"isUserAdmin"
compareValue=
"0"
>
<isEqual
prepend=
" AND "
property=
"isUserAdmin"
compareValue=
"0"
>
exists (
(exists (
select c.object_id, d.resource_ename
select
from ${platSchema}.xs_user a,
c. object_id, d.resource_ename
${platSchema}.xs_user_group_member b,
from ${platSchema}.xs_user a,
${platSchema}.xs_authorization c,
${platSchema}.xs_user_group_member b,
${platSchema}.xs_resource d
${platSchema}.xs_authorization c,
where a.user_id = b.member_id
${platSchema}.xs_resource d
and b.parent_id = c.subject_id
where a.user_id = b.member_id
and c.object_id = d.id
and b.parent_id = c.subject_id
and a.login_name = #loginName#
and c.object_id = d.id
and d.type = 'PAGE'
and a.login_name = #loginName#
and find_in_set(d.resource_ename, (select queryMenuPageInfo(m.node_ename)))
and d.type = 'PAGE'
)
and m.node_ename = d.resource_ename
</isEqual>
) or node_type = '2')
</isEqual>
</isNotEqual>
</dynamic>
</dynamic>
UNION
UNION
SELECT
SELECT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment