Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30730

Asset tags admin portlet has javascript error if the user doesn't have the "Permissions" permission

    Details

      Description

      When a user isn't have the permission of permissions proceed to enter in the tags admin portlet, the javascript fails due it make reference to a button that doesn't exists (The permissions button)

      Steps to reproduce:

      Create an organization orgtag with a site linked to it
      Create an user inside orgtag called orguser
      Create a role tagger
      Define the permissions to the tagger role. This permissions are specified in the attachement tagger_permissions.png but they are basically all the permissions of the tag modules and the posibility of view the site in the control panel
      Set the tagger role to orguser user
      Log with orguser
      Enter in control panel -> sites -> orgtag and go to tags section. Open the firebug/chrome developer console and see the error:

      TypeError: tagsPermissionsButton is null

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ginson.ren Ginson Ren
              Reporter:
              victor.miranda Victor Miranda (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 16 weeks ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M2