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

User can not add child site with required permissions

    Details

    • Fix Priority:
      5
    • Last Working Version:

      Description

      Steps to reproduce
      Scenario 1

      1. Add a new Regular role: AddSite with following permission:
      2. Define permission as following
        • Sites: Access in Control Panel
        • Sites: View
        • Sites > SITE: Add Site
        • Users and Organizations: Access in Control Panel (Add for comparison)
        • Users and Organizations: View (Add for comparison)
        • Users and Organizations > ORGANIZATION: Add Organization (Add for comparison)
      3. Add a new Site: Site1
      4. Add a new Organization: Organization1
      5. Add a new User with AddSite Role, Site1 and Organization1
      6. Login as the new user or Impersonate the User
      7. Go to Control Panel > Users > Users and Organizations > Organizations
      8. Click the kabab of Organizations1 to Add Organization
      9. Assert User can Add Organization for Organization1
      10. Go to Control Panel > Sites > Sites
      11. Click the kabab of Site1

      Expect Result
      User can add child site for current site.

      Actually Result
      No Add Child Site option for current user.

      Scenario 2

      1. Continue with previuos steps
      2. Login as Test Test to add Update site permission for AddSite Role
        • Sites > SITE: Update
      3. Login as the new user or Impersonate the User
      4. Go to Control Panel > Sites > Sites
      5. Click the kabab of Site1 to Add Child Site

      Expect Result
      User can add child site for current site.

      Actually Result
      Assert User have no permission to add child site for current site.

      NOTE
      I'm not pretty sure if the Update permission is a required permission for adding child site, if yes, Scenario 1 would be Discarded, the real issue would be Scenario 2. Sorry for any confusion.

        Attachments

          Activity

            People

            Assignee:
            sharry.shi Sharry Shi
            Reporter:
            sharry.shi Sharry Shi
            Participants of an Issue:
            Recent user:
            Sharry Shi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 29 weeks, 4 days ago

                Packages

                Version Package