Last modified: 2012-04-14 23:29:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37874, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35874 - Separate projects and groups
Separate projects and groups
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OpenStackManager (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-11 01:48 UTC by Ryan Lane
Modified: 2012-04-14 23:29 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ryan Lane 2012-04-11 01:48:19 UTC
It's problematic that project names are also group names, since a project could be named "admin" or "staff", which would give users higher permissions on other projects accidentally.

We should have projects, and project groups that are named after projects, but prefixed. The groups should be virtual, and should get their membership from the project.

Here's an LDAP example for creating a virtual group for a project based on the project's membership:

dn: cn=project-ganglia,ou=instance-groups,dc=wikimedia,dc=org
objectClass: groupOfNames
objectClass: posixGroup
objectClass: ds-virtual-static-group
objectClass: top
ds-target-group-dn: cn=ganglia,ou=groups,dc=wikimedia,dc=org
gidNumber: 1064
cn: project-ganglia

Instances will need to be reconfigured to use ou=instance-groups as a base, rather than ou=groups, also we'll need to modify puppet to configure access.conf and a few other things to use the prefixed group name, rather than the project name.
Comment 1 Ryan Lane 2012-04-12 02:25:06 UTC
Should also add a maintenance script that can be used to combine and/or split groups, in case someone sets things up one way and wants to set them up the opposite way later (like us).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links