Opened 11 years ago

Last modified 6 years ago

#155 new enhancement

pony fails if daemon.scripts-pony doesn't have "list" on the locker

Reported by: adehnert Owned by:
Priority: minor Milestone:
Component: pony Keywords:
Cc:

Description

Apparently if a locker doesn't have system:anyuser l, nor does daemon.scripts-pony have list, then Pony will fail with some unhelpful error message.

Adam, in RT #1271560:

In that case, feature request: If the permission check fails because of lack of "daemon.scripts-pony l" or equivalent, it'd be nice if the error linked to a FAQ or something that explained this option.

Change History (4)

comment:1 Changed 10 years ago by ezyang

  • Component changed from web to pony

comment:2 Changed 6 years ago by leee

I propose writing an FAQ that includes this to answer the problem "You cannot administer the $locker locker.", then modifying pony at scripts-pony/scripts/auth.py, line 77 from:

            raise AuthError("You cannot administer the '%s' locker!"%locker)

to

            raise AuthError("You cannot administer the '%s' locker! Please see $faq for more details."%locker)

Is this a reasonable solution?

comment:3 Changed 6 years ago by leee

http://scripts.mit.edu/faq/159/i-cannot-administer-the-locker created, need to get it to show up on this page somehow: http://scripts.mit.edu/faq.

Need to figure out how to contribute to the git repo for pony.

comment:4 Changed 6 years ago by leee

As per geofft faq/159 moved to be under General Questions.

Mail being sent to scripts-root in regards to Pony.

Note: See TracTickets for help on using tickets.