Skip to content
Snippets Groups Projects
Commit f5272a04 authored by Martin Mareš's avatar Martin Mareš
Browse files

DB: Dokumentovaná výjimka v sémantice rolí

parent a2dea707
No related branches found
No related tags found
No related merge requests found
...@@ -202,6 +202,7 @@ CREATE TYPE role_type AS ENUM ( ...@@ -202,6 +202,7 @@ CREATE TYPE role_type AS ENUM (
); );
-- Uživatelům majícím is_org=true lze přidělit roli ke konkrétnímu regionu (včetně podregionů) a volitelně kategorii/kolu -- Uživatelům majícím is_org=true lze přidělit roli ke konkrétnímu regionu (včetně podregionů) a volitelně kategorii/kolu
-- HACK: Pokud category='Z', role platí pro všechny kategorie začínající na 'Z' (extra výjimka v mo.rights)
CREATE TABLE user_roles ( CREATE TABLE user_roles (
user_role_id serial PRIMARY KEY, user_role_id serial PRIMARY KEY,
user_id int NOT NULL REFERENCES users(user_id), user_id int NOT NULL REFERENCES users(user_id),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment