Forum .LRN Q&A: Re: Figuring out the community_id for a folder in file-storage

Janine

It may be possible to use a list of the relational segments that are community admins, rather than a list of the users who are admins of the community:

select segment_id
from  rel_segments
where  segment_name like 'Admins of %'
and    rel_type = 'dotlrn_admin_rel'

Unless I'm very much mistaken, that way you ensure any new admins automatically inherit the applied permissions.

One other thought I had was: what happens if you add another community?
The public folder will have default permissions, which you will have to change; unless you change the community creation...

Don't know if that helps, but thought I'd throw it in anyway :)

<Raad>