[prosEO CLI] Null user and commands which require login #28
Labels
bug
Something isn't working
enhancement
New feature or request
help wanted
Extra attention is needed
Testing parameters:
User Login: no user login
Mission : no mission
Context:
When the user tries a command which requires login, [mission show] in this case, the error messages show that the user is not logged in which is a normal output message but as a second message the system shows to the user that it tries to revert to a null user for privileges. From the system design point of view, this could be a security concern, in case by mistake the null user gains such privileges. The nature of this error message causes confusion as well and is a security concern by itself.
Example output:
prosEO> mission show
(E2802) User not logged in
(E2803) User null not authorized to manage missions for mission null
Examples with other commands:
example for the command [product show]
prosEO> product show abc
(E2802) User not logged in
(E2803) User null not authorized to manage products for mission null
example for the command [productclass show]
prosEO> productclass show
(E2802) User not logged in
(E2803) User null not authorized to manage product classes for mission null
example for the command [productclass delete]
prosEO> productclass delete abc
(E2802) User not logged in
(E2803) User null not authorized to manage product classes for mission null
example for the command [productclass update]
prosEO> productclass update abc
(E2802) User not logged in
(E2803) User null not authorized to manage product classes for mission null
Similar issues occur with the commands [orbit], [order] and [configuration]
The text was updated successfully, but these errors were encountered: