Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1094154 - Make permission defaults in page creation forms consistent
Make permission defaults in page creation forms consistent
Status: VERIFIED
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Portal (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity unspecified
: ER02
: 6.2.0
Assigned To: Peter Palaga
Marek Baluch
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-05 03:55 EDT by Peter Palaga
Modified: 2015-08-03 03:52 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the permission defaults were not set uniformly in page creation forms such as "Page Creation Wizard", "New Page" in Page Management or "Create Page" in Navigation Editor. Optimizations to the classes controlling page permissions made the permission defaults in the named forms consistent.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker GTNPORTAL-3470 Major Resolved Make permission defaults in page creation forms consistent 2014-07-03 20:49:35 EDT

  None (edit)
Description Peter Palaga 2014-05-05 03:55:48 EDT
Description of problem:
This is a followup of the rejected Bug 1090875 which asked for applying move*Permission defaults from parent site. The present aim is to ensure for all page creation forms, that they use consistent defaults for all kinds of permissions.
The page creation forms for which this applies:
I. Page Creation Wizard accessible via Toolbar > Site Editor > Add New Page 
II. New Page accessible via Toolbar > Group > Administration > Page Management > Add New Page
III. Create Page accessible via Toolbar > Manage Sites > Edit Navigation > Create Node > Page Selector > Create Page
For each of them, the defaults should be set as follows:
(1) For portal pages the access and edit permissions should be taken from the parent site.
(2) For group pages, the the default access permissions should be set to all group members and edit should be set only to the given group's members with the membership type defined in navigation.creator.membership.type configuration parameter of UserACL service.
(3) For any kind of page (portal, group, etc.), the move*Permissions form defaults are taken over form the page.xml template chosen in the given form. If the given form offers no page template choice, the empty template should be used.
In the present implementation, the named requirements are mostly met, however the code is spread over several classes, and is not always 100% consistent, which should hereby be fixed.

Version-Release number of selected component (if applicable):
JBoss Portal 6.2.0.ER1

How reproducible:
Always

Steps to Reproduce:
Open any of the named page creation forms and check the permission defaults preset by the portal. OK if they match the rules named above, unexpected otherwise.

If there is no UI for the permissions in the give page creation from, create a page and subsequently open it in Page Editor, open Page Properties, and check if the stored permissions.
Comment 2 Peter Palaga 2014-05-05 04:20:38 EDT
https://github.com/gatein/gatein-portal/pull/850 was merged in upstream.
Comment 3 Petr Mensik 2014-06-05 09:54:59 EDT
I confirm that permissions are correctly inherited.

Note You need to log in before you can comment on or make changes to this bug.