Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Making Trac database read-only

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


brianlenz at gmail

Oct 27, 2009, 9:53 AM

Post #1 of 4 (277 views)
Permalink
Making Trac database read-only

Hello,

I was wondering if there is any way to make Trac read-only? We want
to stop all updates (tickets, changesets, wiki, etc.) to Trac for a
period of time, but we would like to keep the Trac database up and
running for read purposes. I've looked everything I can think of on
google and the edgewall site, and can't seem to find anything that
would enable read-only access.

Is there any way to do this in Trac? We are using version 0.11.4.

Thanks for any assistance you can provide!

Brian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


noah at coderanger

Oct 27, 2009, 10:50 AM

Post #2 of 4 (295 views)
Permalink
Re: Making Trac database read-only [In reply to]

Remove all MODIFY permissions from all users (and CREATE/DELETE too).

--Noah

> -----Original Message-----
> From: trac-users [at] googlegroups [mailto:trac-users [at] googlegroups]
> On Behalf Of Brian
> Sent: Tuesday, October 27, 2009 9:54 AM
> To: Trac Users
> Subject: [Trac] Making Trac database read-only
>
>
> Hello,
>
> I was wondering if there is any way to make Trac read-only? We want
> to stop all updates (tickets, changesets, wiki, etc.) to Trac for a
> period of time, but we would like to keep the Trac database up and
> running for read purposes. I've looked everything I can think of on
> google and the edgewall site, and can't seem to find anything that
> would enable read-only access.
>
> Is there any way to do this in Trac? We are using version 0.11.4.
>
> Thanks for any assistance you can provide!
>
> Brian
>
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


brianlenz at gmail

Oct 27, 2009, 12:29 PM

Post #3 of 4 (263 views)
Permalink
Re: Making Trac database read-only [In reply to]

Yeah, I had thought of that, but was just wondering if there was some
trac.ini flag that I could set instead.

Thanks for the confirmation, Noah!

On Oct 27, 10:50 am, "Noah Kantrowitz" <n...@coderanger.net> wrote:
> Remove all MODIFY permissions from all users (and CREATE/DELETE too).
>
> --Noah
>
> > -----Original Message-----
> > From: trac-users [at] googlegroups [mailto:trac-users [at] googlegroups]
> > On Behalf Of Brian
> > Sent: Tuesday, October 27, 2009 9:54 AM
> > To: Trac Users
> > Subject: [Trac] Making Trac database read-only
>
> > Hello,
>
> > I was wondering if there is any way to make Trac read-only?  We want
> > to stop all updates (tickets, changesets, wiki, etc.) to Trac for a
> > period of time, but we would like to keep the Trac database up and
> > running for read purposes.  I've looked everything I can think of on
> > google and the edgewall site, and can't seem to find anything that
> > would enable read-only access.
>
> > Is there any way to do this in Trac?  We are using version 0.11.4.
>
> > Thanks for any assistance you can provide!
>
> > Brian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


ryano at physiosonics

Oct 28, 2009, 2:05 PM

Post #4 of 4 (257 views)
Permalink
Re: Making Trac database read-only [In reply to]

On Oct 27, 12:29 pm, Brian <brianl...@gmail.com> wrote:
> Yeah, I had thought of that, but was just wondering if there was some
> trac.ini flag that I could set instead.
>
> Thanks for the confirmation, Noah!

It sounds like you are looking for a one step solution for setting
read only. I think that can be done by following Noah's suggestions.
Create a group that has all of the modify permissions that you
normally assign to your users, and another group that has all of the
view permissions. A simple example is:

authenticated = @view, @modify
view = TICKET_VIEW, TIMELINE_VIEW, ...
modify = TICKET_MODIFY, WIKI_CREATE, ...

When you want to set the site to read only, you can just remove the
modify permission group from your set of users.

This could be more complicated with a complicated set of users and
groups.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.