JasperServer角色问题
我已经开始为我的客户开发 JasperServer 社区版。
我面临的问题是
- 创建新角色后,例如 “TEST_ROLE”
- 创建新用户“LADY_GAGA”并 将用户角色分配为 “TEST_ROLE”
我收到一条错误,指出
“您没有权限查看 本页。
请联系您的系统 管理员或以用户身份登录 许可。”
。我还为角色“TEST_ROLE”分配了其属性,例如读、写、删除、访问。我在分配或创建角色时是否做错了什么。您的帮助将不胜感激。
谢谢
I have started work on JasperServer community edition for my client.
The problem I face is
- After creating a new role eg
"TEST_ROLE" - Creating a new user "LADY_GAGA" and
assigning the user role as
"TEST_ROLE"
I am getting an error that states
"You do not have permission to view
this page.Please contact your system
administrator or log in as a user with
permission."
Please help. I have also assigned the role "TEST_ROLE" its properties such as read, write, delete, access. Am I doing something wrong while assigning or creating a role. You help would be greatly appreciated.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
想通了这一点!
必须为每个用户分配一个最小角色“ROLE_USER”,然后分配由您创建和定义的任何其他角色。
Figured this one out !
Every user must be assigned a minimal role of "ROLE_USER" and then any other role created and defined by you.
我在 http://www.jaspersoft 中遇到了同样的问题。 com/how-set-role-based-jasperserver-home-pages 没有解释分配的 ROLE_USER 。
这意味着TEST_ROL的权限管理不受ROL_USER的影响,这意味着你不能拥有个人ROLE
I had the same problem, in http://www.jaspersoft.com/how-set-role-based-jasperserver-home-pages no explain assigned ROLE_USER .
That means that the management of permissions for the TEST_ROL are immune to ROL_USER, which means you can not have a personal ROLE
ROLE_USER
设置No Access
权限。ROLE_USER
是一个完全没有权限的角色,但请记住,ROLE_USER
应分配给所有用户(新用户和旧用户)以用于登录目的。NEW_ROLE
创建NEW_USER
,但也应将ROLE_USER
分配给NEW_USER
。NEW_ROLE
授予权限。它肯定会起作用。不过,您必须为
NEW_ROLE
的所有数据源和输入数据类型授予仅执行
权限,以避免访问被拒绝
错误。请检查并告诉我。No Access
permission to theROLE_USER
for all the folders and sub folders.ROLE_USER
is a role with no permission at all, but keep in mind thatROLE_USER
should be assign to all users (new and old) for login purpose.NEW_USER
withNEW_ROLE
butROLE_USER
also should be assigned toNEW_USER
.NEW_ROLE
as per your requirement. It will surely work.However you will have to give
Execute Only
permission on all your data sources and input data types forNEW_ROLE
to avoidAccess is denied
error. Please check and let me know.