Edgewall Software
Modify

Ticket #11 (closed enhancement: fixed)

Opened 8 years ago

Last modified 5 years ago

Web configuration/administration in addtion to trac-admin

Reported by: jonas Owned by: cmlenz
Priority: highest Milestone: 0.11
Component: general Version: devel
Severity: normal Keywords: config admin
Cc: tiger@…, trapni@…, dimitrisp.lists@…, john@…, patrys@…, nunterberg@…, shacka@…, edgewall.com@…, bd@…, whylee@…, ruben.lozano.a@…, danny@…, andy_l@…, panagiotis.korros@…, mmass@…, trac.tickets@…
Release Notes:
API Changes:

Description

The module should allow (trusted) users to configure
things like:

  • User permissions
  • Available ticket components, milestones, versions...
  • Settings like theme, htdocs-location, cgi-name...

Attachments

tracperms.jpg (53.3 KB) - added by StefanW@… 7 years ago.
Editing Permissions for different projects and different users looks like this. svn-permissions is not finished yet and doesnt look that good
svnperms.jpg (40.9 KB) - added by whylee@… 6 years ago.
Example of a permission GUI for SVN (developed in php)

Download all attachments as: .zip

Change History

comment:1 Changed 8 years ago by jonas

I just want to point out that you can use the text based
svn:trunk/scripts/trac_admin.py script until is web interface is added.

comment:2 Changed 8 years ago by daniel

  • Priority changed from high to normal
  • Summary changed from Configuration module is missing to (Web) configuration module is missing
  • Version set to 2.0

trac_admin.py is now called svn:trunk/scripts/trac-admin.

comment:3 Changed 8 years ago by jonas

  • Milestone set to 2.0
  • Version changed from 2.0 to 0.1

comment:4 Changed 8 years ago by daniel

  • Version changed from 0.1 to Trunk

comment:5 Changed 8 years ago by daniel

  • Version changed from Trunk to devel

comment:6 Changed 8 years ago by daniel

  • Severity changed from normal to enhancement

comment:7 Changed 8 years ago by daniel

  • Milestone changed from 2.0 to 0.9
  • Priority changed from normal to highest
  • Summary changed from (Web) configuration module is missing to Web configuration/administration instead of trac-admin

At some point we should obsolete trac-admin with a 'pure' web-based interface. Tentatively for 0.9.

comment:8 Changed 8 years ago by rocky

I would recommend against obsoleting trac-admin. trac-admin is extremely useful for automating configurations. Plus, its a great way to initialize an 'admin' user with all access before even having to launch a web process. My recommendation would be to simply have both trac-admin and the web interface reuse the same core python code for doing stuff.

comment:9 Changed 8 years ago by daniel

I agree with that.

comment:10 Changed 7 years ago by StefanW@…

trac-admin is also useful for other (web)Gui-Programs to add new projects or edit project-permissions like it is on our small PHP-Web-Interface for adding new users, projects etc.
Pleople, who use (old? versions of) trac can use this for multiple projects.
If interested, download it from my server:
http://www.whylee.at/opensource/projectportal.zip
(Sometimes my server does not have a good connection. try again i a minute)

I released it under GPL. If you can use it, fine. If you modify it and you think everone could use your modification, please send your modifications to me. ( whylee@… )

Geetings,

Weilhartner Stefan, 4ahead

comment:11 Changed 7 years ago by remi2402@…

What about having a mix of both?

  • Keep trac-admin for all administrative tasks as it stands today
  • web interfaces for everything except low-level stuff (svn repos, trac env path, ...)

This way, TRAC_ADMIN users could manage almost all of trac without actually needing shell access. I, for one, wouldn't mind having this kind of possibilities.

Rémi
(faithfull trac user)

comment:12 Changed 7 years ago by daniel

  • Keywords config admin added
  • Milestone changed from 0.9 to 2.0

This is an important feature for 2.0

comment:13 Changed 7 years ago by Brad Anderson <brad@…>

I've put together a bit of code for this.

See: http://68.91.106.142/projects/test/

and let me know if I'm on the right track.

comment:14 Changed 7 years ago by cmlenz

I don't think we should push this to milestone:2.0, it's just too important a feature and should really make it into milestone:1.0. And now we have Brad working on a patch, too. :-)

My vote would be to put this on the plate for milestone:0.9.

comment:15 Changed 7 years ago by agizis

Brad's demo seems like a huge step forward!

It's fine if things like themes stay done through files and command lines, but adding a milestone or component should be done through the web just like creating a ticket, because the project manager is probably just another web user, and not the system administrator.

Please, please, please, try to get this into 0.9!

comment:16 Changed 7 years ago by aadis-trac@…

I also vote for 0.9, or at least 1.0.

Very useful feature

comment:17 Changed 7 years ago by jbolla

  • Summary changed from Web configuration/administration instead of trac-admin to Web configuration/administration in addtion to trac-admin

At the very least, would like web interfaces to manage component, version, priority, and severity.

comment:18 Changed 7 years ago by anonymous

  • Milestone changed from 2.0 to 0.9

comment:19 Changed 7 years ago by brad <brad@…>

The link I gave on Nov 8 has an IP address. It's still valid, but the vhost is not anymore. Use this:

http://trac.dsource.org/projects/test/admin/ticket

comment:20 Changed 7 years ago by sreimers

Any chance we will get WebAdmin capability in 0.9 timeframe? I just got the patch from brad working against latest trunk (rearch changes and all) - anyone interested in a patch?

comment:21 Changed 7 years ago by anonymous

  • Cc tiger@… added

comment:22 Changed 7 years ago by anonymous

Yes it would be nice to post a patch here.

comment:23 Changed 7 years ago by Christian Parpart <trapni@…>

  • Cc trapni@… added

I highly vote to be included with trac 0.9 :)

comment:24 Changed 7 years ago by sreimers <sven.reimers@…>

Ok. Try to get it working with new pluggable architecture, and post it here afterwards. No patching necessary anymore, just some additional files if I understand new arch.

comment:25 Changed 7 years ago by cmlenz

  • Milestone changed from 0.9 to 1.0

Okay, this isn't going to happen for 0.9, but it's highest priority for 1.0. Sorry.

comment:26 Changed 7 years ago by jeoffwilks@…

I modified Brad's patch to work with the Debian Sarge 'trac' package (0.8.1-2, ~ r1310). I attached the patch to his Trac wiki at:
http://trac.dsource.org/projects/test/wiki/TracWebAdminDevelopment

comment:27 Changed 7 years ago by dimitrisp <dimitrisp.lists@…>

  • Cc dimitrisp.lists@… added

comment:28 Changed 7 years ago by mgood

#1012 has been marked as a duplicate of this ticket.

comment:29 Changed 7 years ago by anonymous

  • Cc john@… added

Eagerly awaiting this as well. :-)

comment:30 Changed 7 years ago by patrys@…

  • Cc patrys@… added

Please leave me in the CC field, I am currently maintaining the PLD Linux spec file for Trac.

comment:31 Changed 7 years ago by Norbert Unterberg <nepo@…>

  • Cc nunterberg@… added

comment:32 Changed 7 years ago by anonymous

  • Cc shacka@… added

comment:33 Changed 7 years ago by Ryan Herbert <edgewall.com@…>

  • Cc edgewall.com@… added

comment:34 Changed 7 years ago by anonymous

Brad (& Jeoff) have done some good work here. I strongly feel that it would be better to have a partial webadmin implementation in 0.9 final than no web administration at all..

Agreed that trac-admin needs to always exist (makes automated installs a breeze), but that being the only practical way to administer basic things like components / versions etc does not impress PHBs who need to sign off on production Trac deployment.

comment:35 Changed 7 years ago by mgood

Web administration is currently available for 0.9 as an external plugin: source:/branches/jonas-dev/webadmin

This will be packaged separately for now, and most likely bundled with 1.0.

comment:36 Changed 7 years ago by anonymous

  • Cc bd@… added

Changed 7 years ago by StefanW@…

Editing Permissions for different projects and different users looks like this. svn-permissions is not finished yet and doesnt look that good

comment:37 Changed 7 years ago by anonymous

  • Cc whylee@… added

User-interface-example how permissions could be handled:
As you can see in the attached image tracperms.jpg, the user-interface is not 'compatible' to the trac-user-interface. We buildt our own development-portal in php where we can add new projects and users and adjust permissions for trac and svn. I think that if the developers from trac decide to add that permission-feature it would be cool if you make this suitable for a multi-project-configuration. Also svn-permissions would be fine. Thanks, WhyLee?.

(Our source is in php which uses the trac-admin command-line tool for modifying the permissions, 'direct'-intergration in python in trac would be a more elegant solution)

comment:38 Changed 6 years ago by anonymous

  • Cc ruben.lozano.a@… added

comment:39 Changed 6 years ago by dadair

  • Cc danny@… added

comment:40 Changed 6 years ago by anonymous

  • Cc andy_l@… added

Changed 6 years ago by whylee@…

Example of a permission GUI for SVN (developed in php)

comment:41 Changed 6 years ago by anonymous

  • Cc panagiotis.korros@… added

comment:42 Changed 6 years ago by anonymous

  • Cc mmass@… added

comment:43 Changed 6 years ago by cmlenz

  • Milestone changed from 1.0 to 0.11

comment:44 Changed 6 years ago by Gunnar Wagenknecht <gunnar@…>

  • Cc gunnar@… added

comment:45 Changed 6 years ago by anonymous

  • Cc trac.tickets@… added

comment:46 Changed 6 years ago by anonymous

  • Cc gunnar@… removed

comment:47 Changed 5 years ago by cmlenz

  • Owner changed from jonas to cmlenz
  • Status changed from new to assigned

I'm working on integrating WebAdmin into the core for the next release.

comment:48 Changed 5 years ago by cmlenz

  • Resolution set to fixed
  • Status changed from assigned to closed

Done in [4095].

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.