3.5K Unstar Star 9.6K Fork 4K

卓源软件 / JeeSite 4.2Java

JeeSite做注册功能时,怎么默认给新注册用户一个默认角色

Closed
Cloud  Opened this issue

JeeSite做注册功能时,怎么默认给新注册用户一个默认角色?及EmpUser的setroleList吗。还是走其他方法。其他工具类吗?

6732 thinkgem 1578914432 total 3 participants

Comments (2)

yuyuaa 2018-10-27 07:46

可以自己改写登陆到shrio 过滤器并注入代替原来到

6732 thinkgem 1578914432
卓源软件 2018-10-27 21:17 owner

user.setUserRoleString(角色编码)

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.2

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542