Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-766

Incorrect permission checked by "adm_ListTabs" tag

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.1.3-B1
    • Component/s: Permissions
    • Labels:
      None

      Description

      Each section in admin console has associated permission, that is checked before displaying it.

      For example user list has "in-portal:user_list" section and "in-portal:user_list.view". This is most common case, when section name is also part of permission name for this section.

      However it's allowed to declare tree section in one unit, but tell it to check permissions based on other unit. This can be done via "perm_prefix" option in section definition. During admin tree drawing this option is processed, but during tab printing via <inp2:adm_ListTabs .../> tag it is ignored.
      This will result in admin tree section being printed, but tabs not printed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: