Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
solo
Commits
4d2ecb1a
Commit
4d2ecb1a
authored
Apr 01, 2013
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated javadoc..
parent
d14ddcda
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
307 additions
and
305 deletions
+307
-305
core/nb-configuration.xml
core/nb-configuration.xml
+39
-38
core/src/main/java/org/b3log/solo/service/UserMgmtService.java
...src/main/java/org/b3log/solo/service/UserMgmtService.java
+268
-267
No files found.
core/nb-configuration.xml
View file @
4d2ecb1a
...
...
@@ -37,6 +37,7 @@ Without this configuration present, some functionality in the IDE may be limited
<word>
sitemap
</word>
<word>
struct
</word>
<word>
structs
</word>
<word>
Swithches
</word>
<word>
Upgrader
</word>
<word>
Upgraders
</word>
</spellchecker-wordlist>
...
...
core/src/main/java/org/b3log/solo/service/UserMgmtService.java
View file @
4d2ecb1a
...
...
@@ -114,10 +114,11 @@ public final class UserMgmtService {
}
/**
*
change user role by the specified userid.
*
Swithches the user role between "defaultRole" and "visitorRole" by the specified user id.
*
* @param userId the specified user
id
* @param userId the specified user
id
* @throws ServiceException exception
* @see User
*/
public
void
changeRole
(
final
String
userId
)
throws
ServiceException
{
final
Transaction
transaction
=
userRepository
.
beginTransaction
();
...
...
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