Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-775

ISIS-Shiro isPermitted issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: tidy-up
    • Component/s: Core: Security: Shiro
    • Labels:
      None

      Description

      I want to use Apache-Shiro API methods in my code for some permissions check. But permission check is not working in ISIS-Shiro environment as it is based on class-based secyrity mechanism.

      For ex:

      in shiro.ini - I gave permission as below:
      site_role = BBY:0540

      In the code subject.isPermitted("BBY:541") also returning true.

      In non-ISIS environment, this security checking is working fine.

      Please help how to solve this issue.

      Please find attached files.
      Shiro version is 1.2.2 as this is coming via Isis-secuirty-shiro-1.3.0

        Attachments

        1. Shiro-Permissions-Files.zip
          3 kB
          Ranganath Chittari

          Activity

            People

            • Assignee:
              danhaywood Daniel Keir Haywood
              Reporter:
              ranganath.chittari Ranganath Chittari
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: