Non Simple Cards with Codenames
Idea
Non Simple Cards with Codenames+issues
I was pondering this issue around a code comment from Ethan
Codenames can be assigned to !simple? cards. We can create the situation with rename, and if we don't want to prevent that, and I can't see that we would, we have to allow it. This idea started in a reply to that comment.
Non Simple Cards with Codenames+solution
Codename needs to be a Set, and I think it should. It is an easy change, and I think expressively powerful. Then we don't actually need indestructability of codenames as a feature. Just prevent it with a rule. Also, I think we need a permission rule setting that says 'not even admin' WagnBot may still be an exception. (special, like root). Note that 'read-only' can be just setting some rules:all+(create|delete|update|comment) -> :no_permission
Non Simple Cards with Codenames+example
The codename rules mean we can't let them delete these cards, but they can be hidden with rules. We'll go over this, but the upshot is that:
:invite would point to *invite+*thanks, or maybe it is :invite_thanks. That would make it indestructable without any code changes.
Also, as another example we can bind:
:default_type to the card *all+*default, then Card[:default_type].type_id is what Card::DefaultTypeID currently defines.
Non Simple Cards with Codenames+discussed in support tickets
Non Simple Cards with Codenames+relevant user stories