generated from ginjiruu/go-template
Remove admin relation from FGA model #4
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ginjiruu/ttrpg#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
adminis a phantom role from early modeling — see CONTEXT.md ("Admin"). It isnot a seat and grants the owner the GM's view of the game, which spoils the
surprise of the game once the owner steps out of the GM seat.
Remove the
adminrelation and rework what depends on it:core.fga: drop guildadmin: ownerandcan_manage: admin; guild managementis the owner's.
campaign.fga: drop campaignadmin: owner or admin from guild.Rebuild the relations against the decided domain rules (CONTEXT.md):
can_view: member only.can_play: gm or player.can_manage: gm only (the owner has no game-management powers — the surpriseprinciple). Owner reactivation of a dormant campaign is a service-level
behavior, not a standing
can_manage.can_delete: owner only — a GM can never delete a campaign, and deletionis never triggered by a GM leaving or the campaign falling dormant.
Regenerate FGA constants (
task generate-fga), thentask clean-fga+re-bootstrap to drop stale tuples.