MetacardApplication get workspace to apply user access filter to limit workspace result for only this user

Description

Beside applying the WORKSPACE_TAG to the workspace query, additional constraints should be imposed with the current login user's workspace access.
The resulting query should only return workspaces that the current user have access to.

Users should have access to all workspaces that

  1. they own "metacard.owner_txt":["admin@localhost.local"]

  2. they have been given access "security.access-individuals_txt":["jason.lam@connexta.com"],

  3. they have been given administrator right (this could be deprecated) "security.access-administrators_txt":["admin@localhost.local"],

  4. they belong to the group with access "security.access-groups_txt":["guest"],

Environment

None

Status

Assignee

Jason Lam

Reporter

Jason Lam

Labels

None

Priority

Critical
Configure