monkinetic weblog

Steve Ivy's Weblog - Since 1999 - XII Ed.

Granting Subsite Admin Permissions in Psql

Sometimes we need to grant admin permissions for a subsite to a group or member. Right now the groups admin pages are horked, and you have to do it via psql.

Find the packge_id of the subsite, and the id of the user or group that you want to have admin permissions. Then run psql and run this query:

select acs_permission__grant_permission(subsite_package_id, party_id,'admin');

My name is Steve Ivy and I write about technology, the open web, social software, and general nerdity on monkinetic.com. You should follow me on Twitter or subscribe to this blog if you like what you're reading. I spend my days hacking Movable Type, python, Django, and various other efforts at Wallrazer. This is my personal site.