Comment #9 on issue 173 by
Fleety...@gmail.com: Help with buckets and access
http://code.google.com/p/anomalyjobs/issues/detail?id=173
Don't give up quite yet, you're almost there. Based on your code,
Guildmasters can now see into the system via +jobs.
See, HAS_ACCESS only determines (essentially) whether you use +jobs or
+myjobs to access the system. It doesn't grant very much 'extra' behavior.
Now you need to give Guildmasters the ability to interact with their jobs,
and you'll need to figure out which +jobs commands the Guildmasters can
perform:
COMPLETE_ACCESS: Returns 1 if a player can /complete jobs.
APPROVE_ACCESS: Returns 1 if a player can /approve jobs.
DENY_ACCESS: Returns 1 if a player can /deny jobs.
CREATE_ACCESS: Returns 1 if a player can use the /create command.
ADD_ACCESS: Returns 1 if a player can use the /add command.
GIVE_ACCESS: Returns 1 if a player can use +bucket/access.
EDIT_ACCCESS: Returns 1 if a player can use the /edit command.
STATS_ACCESS: Returns 1 if a player can pull reports on the system.
LOG_ACCESS: Returns 1 if a player can /log a job.
MAIL_ACCESS: Returns 1 if a player can /query and /mail.
It sounds like they need 'CREATE_ACCESS, ADD_ACCESS, MAIL_ACCESS,
COMPLETE_ACCESS'. They can create jobs, add info to them, mail people about
them, and /complete them.
If you want to keep the original job from other players, you'd modify
APPROVE_ACCESS instead of COMPLETE_ACCESS.
Add in your guildmaster check to those access checks, and it'll be doing
exactly what you wanted it to do.
Rhost doesn't have the builder power, but following the builder logic is a
good demonstration of how we approach letting a builder into the system by
example. Builders on MUX and MUSH have fewer restrictions on quota, but
otherwise they are normal players - the exact same scenario you're wanting
out of your Guildmasters.
You're almost there.