In-Portal Issue Tracker - In-Portal CMS
|
||||||||||||||||||||||||||||||
Viewing Issue Advanced Details | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: | |||||||||||||||||||||||||
1050 | [In-Portal CMS] Data Management | feature request | always | 2011-05-04 21:23 | 2012-07-25 05:33 | |||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
Reporter: | Dmitry | Platform: | ||||||||||||||||||||||||||||
Assigned To: | !COMMUNITY | OS: | ||||||||||||||||||||||||||||
Priority: | normal | OS Version: | ||||||||||||||||||||||||||||
Status: | closed | Product Version: | 5.1.2 | |||||||||||||||||||||||||||
Product Build: | Resolution: | fixed | ||||||||||||||||||||||||||||
ETA: | none | Fixed in Version: | 5.2.0-B1 | |||||||||||||||||||||||||||
Reference: | https://groups.google.com/d/topic/in-portal-dev/fg0b2dlhPLY/discussion | |||||||||||||||||||||||||||||
Change Log Message: | Ability to access disabled section with direct link | |||||||||||||||||||||||||||||
Estimate Points: | 1 | |||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
Summary: | 0001050: Ability to access Disabled Section with Direct Link | |||||||||||||||||||||||||||||
Description: |
Often these days we need to have an ability to access a disabled Section or Category Item on the Front-end without having it shown in the list among other Enabled Sections or Category Items. There is a beautiful solution that Google Picasa has for this - Direct URL which contains some "key" for authenticating the user and showing him hidden by default content. Example: https://picasaweb.google.com/dandrejev/MaksikGitara?authkey=Gv1sRgCJeZqfiPxL271 I propose we implement the same for Section (later for Category Items). Interface: 1. If Status is Pending or Disabled we show a new "Access with Link" field right after (below) that Status field 2. New "Access with Link" field will have a Check-box (enabled by default) and a Label field (which can be copied) with full URL to that Section. Functionality: 1. We would need to have 2 new DB fields ( in Categories table (and later for Category Items) to store the Status and the Authentication Key. I suggest calling them as AllowAccessWithLink and AuthKey, but I am insisting on these names. 2. Let's use some random Alpha-numeric (case sensitive) algorithms (nothing fancy) to generate (automatically) and save this keys. Keys will NOT change! Suggested length 15-20 chars. 3. One of hard questions is - which of the URLs to show: a. with ModRewrite or without - I believe it should be based on current website settings b. which language - default one for Front-end 4. Need to make sure if In-Portal performs a URL redirect due to forcing the HTML URL when user visits without one we need to keep AuthKey in URL as well. |
|||||||||||||||||||||||||||||
Steps To Reproduce: | ||||||||||||||||||||||||||||||
Additional Information: |
From technical viewpoint it will be pretty easy to implement: 1. create 2 fields in a Category table: DirectLinkEnabled (Yes/No) and DirectLinkAuthKey 2. when someone enables direct link functionality (on category/section editing page), then: - random alpha-numeric string will be generated and stored in category/section record - link to that page with freshly generated authentication key will be displayed 3. in checkItemStatus method (where check is made to prevent viewing Pending/Disabled categories/sections) also check is authentication key is present in url and it matches one from current category/section record 4. if all matches, then show category/section and don't redirect to "no permission" page as usual in this case |
|||||||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||||||
Attached Files: |
direct_page_link_feature.patch (10,758) 2011-07-13 04:18 http://tracker.in-portal.org/file_download.php?file_id=1070&type=bug direct_page_link_feature_for_520.patch (10,838) 2011-07-13 12:28 http://tracker.in-portal.org/file_download.php?file_id=1074&type=bug Access-WithLink-URL-2011-07-22_1441.png (135,333) 2011-07-22 14:44 http://tracker.in-portal.org/file_download.php?file_id=1083&type=bug keep_section_properties_link_clean.patch (576) 2011-07-25 08:01 http://tracker.in-portal.org/file_download.php?file_id=1084&type=bug |
|||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||||||
2012-07-25 05:33 | alex | Note Added: 0005079 | ||||||||||||||||||||||||||||
2012-07-25 05:33 | alex | Status | resolved => closed | |||||||||||||||||||||||||||
2012-06-11 06:41 | alex | Relationship added | parent of 0001311 | |||||||||||||||||||||||||||
2012-02-06 04:06 | alex | Relationship added | related to 0001201 | |||||||||||||||||||||||||||
2011-10-22 05:40 | alex | Estimate Points | => 1 | |||||||||||||||||||||||||||
2011-09-20 11:27 | alex | Note Added: 0003873 | ||||||||||||||||||||||||||||
2011-09-20 11:27 | alex | Status | reviewed and tested => resolved | |||||||||||||||||||||||||||
2011-09-20 11:27 | alex | Resolution | reopened => fixed | |||||||||||||||||||||||||||
2011-09-11 20:45 | Dmitry | Note Added: 0003727 | ||||||||||||||||||||||||||||
2011-09-11 20:45 | Dmitry | Status | needs testing => reviewed and tested | |||||||||||||||||||||||||||
2011-08-17 03:55 | alex | Relationship added | parent of 0001098 | |||||||||||||||||||||||||||
2011-08-17 03:46 | alex | Relationship added | related to 0001097 | |||||||||||||||||||||||||||
2011-07-25 08:02 | alex | Note Added: 0003641 | ||||||||||||||||||||||||||||
2011-07-25 08:02 | alex | Assigned To | alex => !COMMUNITY | |||||||||||||||||||||||||||
2011-07-25 08:02 | alex | Status | needs work => needs testing | |||||||||||||||||||||||||||
2011-07-25 08:01 | alex | File Added: keep_section_properties_link_clean.patch | ||||||||||||||||||||||||||||
2011-07-22 14:46 | Dmitry | Status | needs feedback => needs work | |||||||||||||||||||||||||||
2011-07-22 14:46 | Dmitry | Note Added: 0003640 | ||||||||||||||||||||||||||||
2011-07-22 14:46 | Dmitry | Status | resolved => needs feedback | |||||||||||||||||||||||||||
2011-07-22 14:46 | Dmitry | Resolution | fixed => reopened | |||||||||||||||||||||||||||
2011-07-22 14:44 | Dmitry | File Added: Access-WithLink-URL-2011-07-22_1441.png | ||||||||||||||||||||||||||||
2011-07-13 12:28 | alex | Note Added: 0003633 | ||||||||||||||||||||||||||||
2011-07-13 12:28 | alex | Status | reviewed and tested => resolved | |||||||||||||||||||||||||||
2011-07-13 12:28 | alex | Fixed in Version | => 5.2.0-B1 | |||||||||||||||||||||||||||
2011-07-13 12:28 | alex | Resolution | open => fixed | |||||||||||||||||||||||||||
2011-07-13 12:28 | alex | Assigned To | !COMMUNITY => alex | |||||||||||||||||||||||||||
2011-07-13 12:28 | alex | Changeset attached | 5.2.x r14474 | |||||||||||||||||||||||||||
2011-07-13 12:28 | alex | File Added: direct_page_link_feature_for_520.patch | ||||||||||||||||||||||||||||
2011-07-13 12:25 | alex | Relationship added | parent of 0001056 | |||||||||||||||||||||||||||
2011-07-13 11:25 | Dmitry | Note Added: 0003632 | ||||||||||||||||||||||||||||
2011-07-13 11:25 | Dmitry | Status | needs testing => reviewed and tested | |||||||||||||||||||||||||||
2011-07-13 04:20 | alex | Assigned To | => !COMMUNITY | |||||||||||||||||||||||||||
2011-07-13 04:20 | alex | Developer | => alex | |||||||||||||||||||||||||||
2011-07-13 04:20 | alex | Status | active => needs testing | |||||||||||||||||||||||||||
2011-07-13 04:20 | alex | Note Added: 0003627 | ||||||||||||||||||||||||||||
2011-07-13 04:20 | alex | Target Version | Icebox => 5.2.0 | |||||||||||||||||||||||||||
2011-07-13 04:18 | alex | File Added: direct_page_link_feature.patch | ||||||||||||||||||||||||||||
2011-05-04 21:23 | Dmitry | New Issue | ||||||||||||||||||||||||||||
2011-05-04 21:23 | Dmitry | Reference | => https://groups.google.com/d/topic/in-portal-dev/fg0b2dlhPLY/discussion | |||||||||||||||||||||||||||
2011-05-04 21:23 | Dmitry | Change Log Message | => Ability to access disabled section with direct link |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|