Skip to content

Users can view other companies without being added #222

Open
@erikskaar

Description

@erikskaar

Describe the bug
Users can view other user's companies without being added to the company.

To Reproduce
Steps to reproduce the behavior:

  1. Create an account.
  2. Sign in and create a company
  3. Log out and create a second account
  4. Create a company on the second account
  5. Log in to the first account, the company of the second user should now be visible.
    Both of these accounts can view each others companies without being part of them.

Expected behavior
You shouldn't be able to view other people's companies without being added to them.

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux, Ubuntu 19.10
  • Browser chrome
  • Version 79.0.3945.117

Additional context
N/A

Stacktrace

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions