Page MenuHomePhabricator

Enable anyone to add receipts
Closed, ResolvedPublic


Is it possible to enable everyone to add receipts to any ticket? This would make life easier to employees who often spend a lot of time scanning tickets. Maybe these should be displayed in a separate field (not together with receipts uploaded by the ticket owner).

If that's impractical, it would be cool if the owner of the ticket would just manually specify people who can add receipts to a given ticket. But I prefer the first option.

Event Timeline

It's doable easily. Maybe we can just display uploader's username next to the document and not bother with splitting it into separate sections, but if you want to, it's easy too.

OK! Lets do it your way, with usernames.

One thing to be careful about: People should not be able to see other people receipts except for those with a user right (same as now).

Ok, will do soon.

Thanks for your note on visibility of the receipts. Should requestors be able to see all receipts of their tickets?

Urbanecm claimed this task.Dec 12 2018, 5:10 PM
Restricted Application added a project: User-Urbanecm. · View Herald TranscriptDec 12 2018, 5:10 PM
Urbanecm triaged this task as Normal priority.Dec 12 2018, 6:27 PM

Change 479453 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[wikimedia-cz/tracker@master] [WIP] Allow anyone to add documents to tickets

Ok, applied the patch above on Please review and let me know.

Yes, looks great, ready to deploy.

Change 479453 merged by jenkins-bot:
[wikimedia-cz/tracker@master] Allow anyone to add documents to tickets

Urbanecm closed this task as Resolved.Dec 14 2018, 7:52 PM