Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mytime
Project
Project
Details
Activity
Releases
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
Narendar Vakiti
mytime
Commits
39900abd
Commit
39900abd
authored
Aug 10, 2018
by
bsatyanarayana-nisum-com
Committed by
tdutta-nisum-com
Aug 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MT-126_5 :SNS :: DL_should_see_only_his_account_projects (#142)
parent
227b27a6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ProjectServiceImpl.java
...ain/java/com/nisum/mytime/service/ProjectServiceImpl.java
+3
-1
UserServiceImpl.java
src/main/java/com/nisum/mytime/service/UserServiceImpl.java
+1
-1
No files found.
src/main/java/com/nisum/mytime/service/ProjectServiceImpl.java
View file @
39900abd
...
...
@@ -1086,9 +1086,11 @@ public class ProjectServiceImpl implements ProjectService {
Account
account
=
null
;
Domains
domain
=
null
;
HashMap
<
Object
,
Object
>
projectMap
=
n
ew
HashMap
<>()
;
HashMap
<
Object
,
Object
>
projectMap
=
n
ull
;
for
(
Project
obj
:
prjts
)
{
projectMap
=
new
HashMap
<>();
account
=
accountRepo
.
findByAccountId
(
obj
.
getAccountId
());
domain
=
domainRepo
.
findByDomainId
(
obj
.
getDomainId
());
...
...
src/main/java/com/nisum/mytime/service/UserServiceImpl.java
View file @
39900abd
...
...
@@ -573,7 +573,7 @@ public class UserServiceImpl implements UserService {
if
(
null
!=
roleSet
&&
!
roleSet
.
isEmpty
()
&&
MyTimeUtils
.
INT_ZERO
<
roleSet
.
size
()
)
{
if
(
roleSet
.
contains
(
roleName
)
)
{
flag
=
fals
e
;
flag
=
tru
e
;
}
}
...
...
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