JasperServer角色问题

发布于 2024-11-02 09:38:17 字数 340 浏览 1 评论 0原文

我已经开始为我的客户开发 JasperServer 社区版。

我面临的问题是

  1. 创建新角色后,例如 “TEST_ROLE”
  2. 创建新用户“LADY_GAGA”并 将用户角色分配为 “TEST_ROLE”

我收到一条错误,指出

“您没有权限查看 本页。

请联系您的系统 管理员或以用户身份登录 许可。”

。我还为角色“TEST_ROLE”分配了其属性,例如读、写、删除、访问。我在分配或创建角色时是否做错了什么。您的帮助将不胜感激。

谢谢

I have started work on JasperServer community edition for my client.

The problem I face is

  1. After creating a new role eg
    "TEST_ROLE"
  2. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

梦境 2024-11-09 09:38:17

想通了这一点!

必须为每个用户分配一个最小角色“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.

樱花坊 2024-11-09 09:38:17

我在 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

梦里梦着梦中梦 2024-11-09 09:38:17
  • 首先,为所有文件夹和子文件夹的ROLE_USER设置No Access权限。
  • 现在,ROLE_USER 是一个完全没有权限的角色,但请记住,ROLE_USER 应分配给所有用户(新用户和旧用户)以用于登录目的。
  • 使用 NEW_ROLE 创建 NEW_USER,但也应将 ROLE_USER 分配给 NEW_USER
  • 根据您的要求向 NEW_ROLE 授予权限。它肯定会起作用。

不过,您必须为 NEW_ROLE 的所有数据源和输入数据类型授予仅执行权限,以避免访问被拒绝错误。请检查并告诉我。

  • First of all set No Access permission to the ROLE_USER for all the folders and sub folders.
  • Now ROLE_USER is a role with no permission at all, but keep in mind that ROLE_USER should be assign to all users (new and old) for login purpose.
  • Create NEW_USER with NEW_ROLE but ROLE_USER also should be assigned to NEW_USER.
  • Give permission to 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 for NEW_ROLE to avoid Access is denied error. Please check and let me know.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文