A person leaves licences out, and no key of theirs reaches a model under one
CI / test (push) Successful in 11m28s
CI / test (push) Successful in 11m28s
A game sold in the EU cannot ship what a licence excluding the EU made. On the profile page a person leaves out licences one by one, or by rule: every licence forbidding commercial use, every licence granting nothing in a region. The rules cover models added later. The choice reaches every principal through the resolved limits, so permits() leaves such models out of /v1/models, requests, jobs, fallbacks and the portal's pickers, and a request for one is refused 403 licence_excluded saying which choice did. Kept in user_excluded_licences (migration 0046), copied with the store and gone with the person. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
a313b3e0da
commit
4bbac0833d
20 files changed
+658
-7
No files matched your search
@@ -0,0 +1,8 @@
|
||||
-- The licences a person has said not to use. Models under them are not
|
||||
-- listed to the person, nor served to their keys or their sessions: a
|
||||
-- game sold in the EU cannot ship what a licence excluding the EU made.
|
||||
CREATE TABLE user_excluded_licences (
|
||||
user_id TEXT NOT NULL REFERENCES users(id) ON DELETE CASCADE,
|
||||
licence TEXT NOT NULL,
|
||||
PRIMARY KEY (user_id, licence)
|
||||
);
|
||||
Reference in new issue
Block a user