Project

General

Profile

Actions

Bug #20 | ISS-0019

open

csInfo #ISS-0012: Bugs

Can not force authentication, collides with Tree

Added by Txinto Vaz 7 months ago. Updated 7 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Iván Hernández Cazorla
Start date:
04/22/2024
Due date:
% Done:

100%

Estimated time:
csWload:
csOldCode:
csID:
ISS-0019
csChapter:
002.008.
depGrahInReports:
Include if has relations

Description

The treeview using key is not working because the check_if_login_required function refuses the access based in keys, and then the user is anonymous.

This has to be fixed in order to allow setting the instance as "login required"


Files

clipboard-202404222300-iiecb.png (10.5 KB) clipboard-202404222300-iiecb.png Txinto Vaz, 04/22/2024 10:00 PM

Identifier: ISS-0019

Workload %:

Links for downloading GraphViz and SVG:

GV SVG

Links for downloading GraphViz and SVG:

GV SVG

Derive Clone item

Actions #1

Updated by Txinto Vaz 7 months ago

Actions #2

Updated by Iván Hernández Cazorla 7 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90
Actions #3

Updated by Iván Hernández Cazorla 7 months ago

  • Assignee set to Iván Hernández Cazorla
Actions #4

Updated by Iván Hernández Cazorla 7 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions #5

Updated by Iván Hernández Cazorla 7 months ago

  • Status changed from Resolved to Feedback

Please, review the PR in the cosmosys_rm repository: https://github.com/cosmoBots/cosmosys_rm/pull/20.

The branch is fix/403_when_login_required and it is in my fork, so I edited the Docker entrypoint to point to it instead of the one in the cosmoBots organization.

At this moment the fix branch is deployed on Coruja instance: https://coruja.csys.cosmobots.eu

The instance is configured as login required. When you access, go to the "Tree" view and play with it! Then you can also test to make a request in the same browser or even using CURL:

In browser

CURL
Just run the next command and test as above (without key, with key but empty and with key:

curl --request GET "https://coruja.csys.cosmobots.eu/cosmosys/testingproject/treeview.json"          
Actions

Also available in: Atom PDF

Go to top