Can Trac Hidden Project List?

31 views
Skip to first unread message

柯餅乾

unread,
Nov 12, 2014, 4:35:45 AM11/12/14
to trac-...@googlegroups.com
Hello everyone,
I'm a new user for Trac.
I have a problem that how can I make a distinction for different user to display different project according to their different permission.
And how to hidden the project that the user doesn't have the permission on those.
 
 
thank.

Steffen Hoffmann

unread,
Nov 13, 2014, 5:03:51 AM11/13/14
to trac-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
We had this question before (should be in the mailing-list archive).

This is neither default nor optional Trac core behavior, and due to
permission definitions on 'project level' it would require
a) authentication prior to/at the project listing page
b) checking permission for each project by reading their Trac db
for every access to the project listing

As your boss or yourself, what it is really worth. It could be done by a
separate script. Don't remember yet, if someone already published a
solution before, sorry.

Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlRkgfIACgkQ31DJeiZFuHeaGgCg6NEC4ONQzcEIpRg0QRkuvSCG
ejgAoNsFmC9KlDvmmNfCq/PDApTfLCyR
=otX3
-----END PGP SIGNATURE-----

F@lk

unread,
Nov 13, 2014, 5:19:01 AM11/13/14
to trac-...@googlegroups.com
Hi!

In case you use SimpleMultiProjectPlugin (hosted on trac-hacks.org):
Go to Admin page => Manage Projects => Projects => select your project => fill out the field "restricted to users" with a comma-separated list of user names

CU, F@lk
Reply all
Reply to author
Forward
0 new messages