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
Statut: | New | Début: | 03/04/2015 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 0% |
|
Catégorie: | Commands | Temps passé: | - | |
Version cible: | 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
Historique
#1 Mis à jour par Serge Heiden il y a plus de 10 ans
- Sujet changé de GWT: x.x, Enable direct access to a command via URL - STEP 3 - login on access restriction à GWT: x.x, Enable direct access to a command via URL - STEP 4 - login on access restriction
#2 Mis à jour par Matthieu Decorde il y a environ 5 ans
- Version cible changé de Portal 0.6.2 à Portal 0.7