[PATCH] Don't allow anonymous users to modify some fields
|Reported by:||Owned by:|
|Cc:||hju@…, mmitar@…, Thijs Triemstra, Ryan J Ollos|
This patch lets you set a comma separated list of fields that won't be visible at /newticket time to users without TICKET_MODIFY status.
Included is a bonus exception check we received when there were non-numeric ticket numbers.
To use: in trac.ini, we have this line:
These are fields we do NOT want 'anonymous' users to modify when creating a ticket. (For example, revw is used to mark a ticket with the name of a reviewer.)
Note that there is a default list of fields hidden as well with this patch. The default could be made empty.
Change History (12)
comment:8 Changed 7 years ago by
|Summary:||Patch: Don't allow anonymous users to modify some fields → [PATCH] Don't allow anonymous users to modify some fields|