Maybe this should be added to Joel's newpackage tutorial. I did use his tutorial as a basis to begin building my package.
Now, I would like to address the permissions aspect. As it stands now, there is a single explicit 'admin' right granted to the object's creator in the __new pgsql procedure. What I would like to do is expand on this by creating groups associated with a package instance, and use those groups to grant general rights such as read, modify, create, delete, and possibly change-ownership. I would like to learn how to this programatically.
Can anyone briefly describe the steps necessary to add this functionality?