Re: Making a roundup instance read-only
Tom Ekberg <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <DM6PR08MB4778C9A4032C64570275770BCA470@DM6PR08MB4778.namprd08.prod.outlook.com> |
Kay, I have done that with some of our old trackers. A few years ago I had the idea of making the database read-only, but making it read-write again was difficult. I was using Postgresql. I find that the easiest way to make a tracker read-only is to remove the 'Submit' button on html/issue.item.html and html/user.item.html. Users can still search and look at issues and users, but can't make changes. If you use keywords, remove the 'Submit' button in html/keyword.item.html. If your tracker creates other types objects remove it there too. Instead of really removing them you might just comment them out within <!-- -->s. That way making them R/W in the future is relatively easy. Tom Ekberg Senior Computer Specialist, Lab Medicine 4th Floor, Pat Steel Building Department of Laboratory Medicine Work: (206) 520-4856 Email: [email protected] ________________________________ From: Kay Hayen <[email protected]> Sent: Monday, March 18, 2019 2:31 AM To: [email protected] Subject: [Roundup-users] Making a roundup instance read-only Hello there, I have a roundup instance, that I want to prevent people from changing, is there a way to achieve this? I tried Google, but I didn't find anything suitable. I guess, there ought to be a way with detectors, but I am not familiar enough with it. ---- from roundup.exceptions import Reject raise Reject('Read only') ---- Which files should I put that in? Thanks in advance for your help. Yours, Kay _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users roundup-users List Signup and Options - lists.sourceforge.net<https://lists.sourceforge.net/lists/listinfo/roundup-users> lists.sourceforge.net Roundup is a simple-to-use and -install issue-tracking system with command-line, web and e-mail interfaces. It is based on the winning design… _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users