Forum .LRN Q&A: Re: Can't view forums in brand new installation

Collapse
Posted by Jim Lynch on
Don B.:

You're changing the object 0 that gives site-wide admin permission? Won't that break code?

OK, if you're going to do that, could you add functions which returns the object ID of the security context root, site-wide admin and guest visitor objects (i.e., one function for each of these three, and more as required for special objects created by loading the initial data model)?

From what I could tell (and this has worked fine in the past), granting to some user admin permission on object 0 gave them site-wide admin. Has there always existed a more standardized approach (such as the one outlined above)?

If not, good; let's create it now so it can be properly documented; if so, good; where is it properly documented?

-Jim