The Toolkit for Online Communities
18653 Community Members, 0 members online, 2043 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : What (really) is subsite-awareness? : One Message

Forum OpenACS Q&A: Re: What (really) is subsite-awareness?

Posted by Randy O'Meara on
Thank you, Dave. That was very helpful and I was able to incorporate the package_id column so that now only data created under an instance is visible to that instance.

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?