lynnfaraday / MUSH

MUSH Softcode and Utilities
8 stars 1 forks source link

+bg/unsubmit fails to close job on certain games #2

Closed lynnfaraday closed 14 years ago

lynnfaraday commented 14 years ago

Seems to be a permissions issue. Suggested fix: Make a close_job function that you can call instead of adding the +jobs/close at the end.

lynnfaraday commented 14 years ago

Cannot fix in the suggested manner because +jobs/close sends mail and posts to the BBS, neither of which can be done using a close_job function. Since this is a game-specific issue, suggest further investigation into what permission setting is preventing it from working.

lynnfaraday commented 12 years ago

Turns out this was broken by a PennMUSH patch that makes "Judge" an invalid flag for objects. Since the default ISSTAFF check is WrJ, that means objects can't execute staff commands (like +jobs/close).

There are multiple potential solutions to this problem:

  1. Change ISSTAFF to only check Wr, instead of WrJ (this is the new default configuration)
  2. Use a separate 'staff' flag, which must be valid for players and objects. (See guide to new flag system for help adding flags.)
  3. Use the @flag command to allow the Judge flag to be set on objects too. (You don't actually have to set it on any object, it just has to be able to be set on an object.)