Chris Johnston has proposed merging lp:~chrisjohnston/loco-directory/staff into
lp:loco-directory.
Requested reviews:
loco-directory-dev (loco-directory-dev)
For more details, see:
https://code.launchpad.net/~chrisjohnston/loco-directory/staff/+merge/50402
--
https://code.launchpad.net/~chrisjohnston/loco-directory/staff/+merge/50402
Your team loco-directory-dev is requested to review the proposed merge of
lp:~chrisjohnston/loco-directory/staff into lp:loco-directory.
=== modified file 'loco_directory/common/launchpad.py'
--- loco_directory/common/launchpad.py 2011-02-18 03:07:49 +0000
+++ loco_directory/common/launchpad.py 2011-02-18 22:02:16 +0000
@@ -36,6 +36,8 @@
return False
if is_debug_user(user.username):
return True
+ if user.is_staff:
+ return True
lc_in_groups = user.groups.filter(name__exact='ubuntu-lococouncil')
return (lc_in_groups.count() == 1)
_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help : https://help.launchpad.net/ListHelp