cerebrate-project / cerebrate

Cerebrate is an open-source platform meant to act as a trusted contact information provider and interconnection orchestrator for other security tools.
https://www.cerebrate-project.org/
GNU Affero General Public License v3.0
84 stars 17 forks source link

Bug: Individuals missing when creating alignment from organisation view (as site admin) #175

Open Wachizungu opened 2 weeks ago

Wachizungu commented 2 weeks ago

Actual behavior

When trying to add individuals as an alignment to an organisation from the organisation view, only my own individual can be selected (logged in as site admin).

Expected behavior

When trying to add individuals as an alignment to an organisation from the organisation view, I can select any existing individual (logged in as site admin).

Reproduction scenario

Create a couple of individuals. Go to an organisation view, click on add individual under the Alignments section.

Version

1.25 (e8f5165)

Extra info

Please note I could add the alignment from the individual view, just not the other way around.

iglocska commented 2 weeks ago

Nice catch, sounds looks like no exception is made for admins. Will try to reproduce this and fix it.

Wachizungu commented 2 weeks ago

Please ignore my previous, now deleted, comment :). I realized as org admin you can only create new individuals, which are then assigned to your org, or edit existing individuals associated with your org, so that seems to work as intended (and unrelated to this issue).