Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: policies #26

Open
leondutoit opened this issue May 11, 2023 · 0 comments
Open

Idea: policies #26

leondutoit opened this issue May 11, 2023 · 0 comments

Comments

@leondutoit
Copy link
Collaborator

leondutoit commented May 11, 2023

Example use cases:

  • login only from given geographical areas
  • level of assurance for project membership
  • no data export

Possible definition:

create table policies(
  row_id uuid unique not null default gen_random_uuid(),
  policy_id uuid unique not null primary key default gen_random_uuid(),
  policy_name text unique not null,
  policy_description text not null,
  policy_data jsonb,
  policy_mandatory boolean not null default 't',
  policy_start_date timestamptz,
  policy_end_date timestamptz,
  policy_activated boolean not null default 't'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant