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

View permissions to all site calendars required to add/edit event action to one of them

    Details

      Description

      Steps to reproduce:

      1. login as admin user and create new site testcalendar
      2. create a private page in this site
      3. add calendar portlet on that page
      4. add a second calendar in the site (in the calendar portlet view on the left side through drop down menu next to "testcalendar's calendars")
      5. remove view permission from Site Member on that calendar (go to permissions in the dropdown menu next to the calendar name)
      6. go to control panel > roles > site roles > site member and find calendar permissions and check permission calendar > manage events
      7. create new user weakuser and assign it as a member to testcalendar site
      8. login as weakuser and go to the page with calendar portlet - now you can see only one site calendar in the "testcalendar's calendars" listing
      9. click on "add event" button
      Result: dialog opens and shows only error message "Calendar is temporarily unavailable." and log contains message User 414737 must have VIEW permission for com.liferay.calendar.model.Calendar 34391600 (id of the calendar to which we removed view permission in the previous step) You still can add event by directly clicking inside calendar but then you still can't edit the event (because of the same error like when you try to add event).

        Attachments

          Activity

            People

            Assignee:
            dennys.barros Dennys Barros (Inactive)
            Reporter:
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              35 weeks, 2 days ago

                Packages

                Version Package
                7.0.X
                7.1.X
                7.2.X
                7.3.1 CE GA2
                7.3.2 CE GA3
                7.3.10 DXP GA1
                Master