Task #1298
Task #595: GWT: x.x, Enable direct access to a command via URL
GWT: x.x, Enable direct access to a command via URL - STEP 4 - login on access restriction
Status: | New | Start date: | 04/03/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | Commands | Spent time: | - | |
Target version: | Portal 0.7 |
Description
Currently, an access restriction on an URL based command execution enforced by a profile generates an "Unknown item" popup message and no execution.
This context should not raise an error but enter a login cycle before trying again to execute the command in the context of a user session.
Solution¶
New URL based command execution algorithm:- if the corpus argument is not present in the corpus list,
- if there is a current user session then raise a "denied access" error
- else if the corpus doesn't exist then raise a "unknown corpus" error
- else [we suppose that there is an access restriction enforced by a profile]
- initiate a login cycle:
- open the connection popup
- on successfull connection, try to execute the command on the corpus again
- initiate a login cycle:
- else execute the command on the corpus
History
#1 Updated by Serge Heiden about 8 years ago
- Subject changed from GWT: x.x, Enable direct access to a command via URL - STEP 3 - login on access restriction to GWT: x.x, Enable direct access to a command via URL - STEP 4 - login on access restriction
#2 Updated by Matthieu Decorde almost 3 years ago
- Target version changed from Portal 0.6.2 to Portal 0.7