| Summary: | Add a function to completely hide a page using check-box and date-control | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 6 | Reporter: | Toshiya Kobayashi <tkobayas> |
| Component: | Portal | Assignee: | Nobody <nobody> |
| Status: | VERIFIED --- | QA Contact: | Martin Vecera <mvecera> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | bdawidow, epp-bugs, jpallich, ppalaga, tkobayas, tkyjovsk |
| Target Milestone: | DR01 | ||
| Target Release: | 6.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-1403 | ||
| Whiteboard: | 6_2 In_Progress | ||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
Previously, page authors could not restrict access to a page even if the page was not published. Setting a publication date was possible, but may have given the impression that the page was not accessible if it was not published. The fix adds an option "Hide page when outside publishing window" to the "create page wizard", which allows authors to restrict access to the page based on publishing time. This feature is documented in the "Add a New Page using the Page Creation Wizard" section of the User Guide.
|
Story Points: | --- |
| Clone Of: | JBEPP-1403 | Environment: | |
| Last Closed: | Type: | Feature Request | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Attachments: | |||
|
Description
Toshiya Kobayashi
2011-11-28 05:16:07 UTC
Link: Added: This issue relates to JBEPP-1096 Link: Added: This issue incorporates GTNPORTAL-2295 Labels: Added: EPP_6_0_0_Candidate *** Bug 794358 has been marked as a duplicate of this bug. *** Ok, so, there's a proposed implementation on https://github.com/jpkrohling/gatein-portal/compare/BZ794359-HidePageIfPublicationDateInFuture-Take2 This proposal adds a new checkbox to the set of fields related to the publishing date, named "". When this checkbox is marked and the current time is outside of the window of the publication date (ie: before the start publication date, or after the end publication date), an user that knows the URL of this page will be redirected to the parent node. Additionally, a message will be shown to the user, saying that the page is not available yet (or has expired). There's no change in the current behavior, as in, nodes marked as "not visible" will still be available for users knowing the URL, as well as nodes which are not published. This is to prevent problems with backwards compatibility, ie, administrators today might be taking advantage of this "bug" (for instance, when they don't want a page to show up in a navigation, but the page is linked from inside a document). I'm attaching a few screenshots, to demonstrate the change. If this is an acceptable solution, the code will be merged once it gets reviewed. Created attachment 853092 [details]
Form - New field - Access restricted before publishing date
Created attachment 853094 [details]
Page - Access restricted before publishing date
Created attachment 853095 [details]
Form - New field - Access allowed before publishing date
Created attachment 853098 [details]
Page - Access allowed before publishing date
Created attachment 853099 [details]
Form - New field - Access restricted after publishing date
Created attachment 853101 [details]
Page - Access restricted after publishing date
Created attachment 853102 [details]
Form - New field - Access allowed after publishing date
Created attachment 853103 [details]
Page - Access allowed after publishing date
Status: the feature is being discussed on gatein-dev . Next steps: get a code review done, send pull-request, get it merged into master. Pull Request sent: https://github.com/gatein/gatein-portal/pull/788 The above PR was merged in upstream. (In reply to Juraci Paixao Krohling from comment #8) > Ok, so, there's a proposed implementation on > https://github.com/jpkrohling/gatein-portal/compare/BZ794359- > HidePageIfPublicationDateInFuture-Take2 > > This proposal adds a new checkbox to the set of fields related to the > publishing date, named "". > > When this checkbox is marked and the current time is outside of the window > of the publication date (ie: before the start publication date, or after the > end publication date), an user that knows the URL of this page will be > redirected to the parent node. Additionally, a message will be shown to the > user, saying that the page is not available yet (or has expired). > > There's no change in the current behavior, as in, nodes marked as "not > visible" will still be available for users knowing the URL, as well as nodes > which are not published. This is to prevent problems with backwards > compatibility, ie, administrators today might be taking advantage of this > "bug" (for instance, when they don't want a page to show up in a navigation, > but the page is linked from inside a document). > > I'm attaching a few screenshots, to demonstrate the change. If this is an > acceptable solution, the code will be merged once it gets reviewed. Thanks for the description there, Juca. I've made the changes in the User Guide here: http://docbuilder.usersys.redhat.com/22545/remarks/#Adding_a_new_Page_using_Page_Creation_Wizard Search for "BZ#794359" to find the changes relating to this ticket. I need to get a new, blank screenshot for the procedure. Asking for test portals in sme-portal for this, or I'll just spin up an ER build of 6.2 to get the screen. |