Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
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
base_platform_enterprise
gic-platform-auth
Commits
f6a8c48d
Commit
f6a8c48d
authored
Jun 11, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运维用户登录gic权限修复
parent
4d628fba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
MenuApiServiceImpl.java
...a/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
+4
-0
No files found.
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
View file @
f6a8c48d
...
@@ -1249,6 +1249,10 @@ public class MenuApiServiceImpl implements MenuApiService {
...
@@ -1249,6 +1249,10 @@ public class MenuApiServiceImpl implements MenuApiService {
//过滤运营人员的部门职位权限
//过滤运营人员的部门职位权限
Map
<
String
,
List
<
TabSysMenuAuthDepart
>>
departMap
=
getAuthDepartMap
(
null
);
Map
<
String
,
List
<
TabSysMenuAuthDepart
>>
departMap
=
getAuthDepartMap
(
null
);
return
resultList
.
stream
().
filter
(
e
->
{
return
resultList
.
stream
().
filter
(
e
->
{
if
(
e
.
getAuthType
().
intValue
()
==
1
)
{
//普通管理员的都有效,不需要判断部门职位
return
true
;
}
List
<
TabSysMenuAuthDepart
>
authList
=
departMap
.
get
(
e
.
getMenuCode
());
List
<
TabSysMenuAuthDepart
>
authList
=
departMap
.
get
(
e
.
getMenuCode
());
if
(
authList
==
null
)
{
if
(
authList
==
null
)
{
//如果是空的,说明是全部权限
//如果是空的,说明是全部权限
...
...
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