application-group-procs.tcl

  • last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added a hack to delete permissions for the application group, so we can delete the group when deleting the subsite instance. We really ought to make permissions cascade. but that's a much bigger fix.

  1. … 1 more file in changeset.
merge of 4.6.3b1 to HEAD

  1. … 107 more files in changeset.
You can once again mount/dismount subsites and delete of subsite works in

the simple case (i.e. when you've deleted everything you've added to it

via the site map or group/user/relseg admin UI)

  1. … 12 more files in changeset.
1. Peter's APM changes broke subsite mounting because the old post

instantiate routine wasn't really called until after the site node for

the subsite was mounted. No problem - I changed it to be an after-mount

callback instead (which was the idea all along)

2. Earlier changes made by me broke the adding of users by an admin, because

the main subsite no longer has a group defined by default separate from

registered users. The registered users group *is* the main subsite

membership group. Had to add a special check for this case.

3. Removed the naughty composition rel added by application_group::new. This

caused subsites to have undesirable side-effects (add admin to subsite and

the user magically became an admin of the supersite, if you defined an

admin_rel and adminstrator relational segment in each)

  1. … 9 more files in changeset.
Merged with the 4.5 branch (oacs-4-5 tag "don-merge-1")

  1. … 58 more files in changeset.

Most of this fixes up the creation of application groups for subsites.

Subsites - for PG at least - still have some serious problems that need

fixing.

  1. … 12 more files in changeset.
OpenACS 4.x

  1. … 1321 more files in changeset.
Initial revision

    • -0
    • +292
    ./application-group-procs.tcl
  1. … 1321 more files in changeset.