disallow card creation if no edit permission+example
This is set to be editable only by GC Staff:
When you click this you get the create interface, then when you click Create you get an ugly error message (below — we're all admins/GC Staff, so you'll have to sign in as, say, Lewis Test to see it live). Should get a nice error message when you first click on this.
notice = getNextElement(getSlotFromContext('main_1_2'),'notice'); notice.update('
Rats. Issue with DISALLOW CARD CREATION IF NO EDIT PERMISSION+EXAMPLE+ONLY GC card:</h2>
PERMISSION_DENIED: You don\'t have permission to edit this card</p></div>')