Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-3055

Edit button in Site Factory looks disabled but is clickable

    XMLWordPrintable

    Details

      Description

      When user doesn't have permission to edit a Site the button looks disabled, but is clickable.

       

      Setup:

      1. Create a user "test" with permissions:

      a) Content/*

      b) Section/*

      c) User/login: site,admin

              2. Create a Site in SiteFactory when logged as admin

       

      Steps to reproduce:

      1. Login as user "test"

      2. Go to "Site" -> site factor

      3. Go to details of the created Site in Site Factory

      4. Click "Edit"

       

      Expected:

      Button is not clickable

       

      Actual:

      Button is clickable and Symfony AccessDenied page is shown in dev mode

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            marek.nocon@ez.no Marek Nocoń
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: