Git permissions

Jannis Pohlmann jannis at
Tue Jul 21 17:10:47 CEST 2009

Hey guys,

I spent today cooking up a new permissions script for the git update
hook. It's a lot simpler than what we use for SVN: it knows groups,
users and repositories and you either have access to a repository (e.g.
xfce/xwm4) or you don't. That's it. No regular expressions for paths
and stuff. 

Obviously, this approach is quite limited. For instance, it doesn't
allow us to restrict access for translators to .po files only. But
since we're going to use Transifex that's not a problem. We can still
add path matching checks on top of this at a later stage, should we
decide we really need it.

The script can be found here:

It loads user, group and repository definitions from JSON files, but
that can be changed easily. JSON is just very comfortable to work with. 

I've written definitions for the new git layout, including all current
SVN users. Only a few groups exist, but we can easily add more later:




Please check if your accounts and projects are set up correctly and let
me know if something is wrong.

  - Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the Xfce4-dev mailing list