Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LPS-37266 (and LPS-37281) #12144

Closed
wants to merge 30 commits into from

Conversation

JorgeFerrer
Copy link

This pull contains many commits, but they are all very small and focused.

They are all about LPS-37266 except for one that fixes one bug (LPS-37281) that I found while working on this.

Jorge Ferrer and others added 30 commits July 1, 2013 17:13
… sections.

HTML and CSS copied directly from the tempalte editor (edit_template_display.jspf and its main.css)
…te with permission-navigation following existing patterns
Code copied from the template editor
An added benefit is that the list of portlets here will have the same order as in the Control Panel which will make them easier to find for administrators.
…odel resources

This is good for usability since when the user clicks on, for example, "Users and Organizations" he will expect to see all the permissions related to what can be done from the application of the same name in the Control Panel.
…roles to manage portal-level entities, since they are shown along with the related Control Panel application
… and portlets

1) UserGroup should be associated to the portlet of the same name and not the more generic users admin
2) Teams are managed from site memberships so they should be associated to that portlet
3) Group, Layout and layout related models should no longer be in users admin since orgs don't have direct pages any more
4) Layout and layout related models should be within Site Pages and not within Sites Admin, which are more about the management of sites, not the entities within.
…on" which is organized just like the new UI of the same name.
…ol Panel categories and remove JSP methods that are no longer needed.
… that are not in the control panel or the "Add to Page" action which are in the category hidden and thus can never be added to a page

This solves a known source of confusion because users tend to try to make sense of what they see in the UI and in this case it was showing options that just didn't make sense.
…cation" (aka Application that can be added to a page")
This is no longer needed because the portlets are always shown in the right context and it caused confusion because it was not applied to all portlets in the Control Panel.
…n administrator will see the related resources whenever changing the permissions of a portlet
…" so move the code there.

Also, since system portlets are being filtered out afterwards, just don't retrieve them.
…Site Roles since the actions for the site are configurable from other places.
…fter all the UI changes both must be true always.

The only case when that wasn't already show is for the PORTAL (90) portlet, but it doesn't have model resources so it doesn't make a difference.
…tion" and its entry as "Users and Organizations"
…ections created just for them

Also rename "General" as "Portal"
@liferay-dev-ci
Copy link

Some tests have FAILED. ❌
Please use the following link to check if any of them are related to your changes.
Refer to this link for build results: http://ci.liferay.org.es/jenkins/job/brianchandotcom/3024/

@brianchandotcom
Copy link
Owner

Merged. Thank you.
View total diff: 47c6624...080f8b6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants