Opened 3 years ago
Closed 2 years ago
#2294 closed Defect (fixed)
Group discussion only viewable by creator (or admin)
| Reported by: | dave | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | Elgg 1.8.0 |
| Component: | Groups | Version: | Github Master |
| Severity: | critical | Keywords: | |
| Cc: | brettp | Difficulty: |
Description
If you create a new group discussion topic and set its access to the group, it looks like the only people who can view it are site admins, the group owner and the person who created the topic but no other members of the group.
Attachments (1)
Change History (7)
comment:1 Changed 3 years ago by cash
- Type changed from unconfirmed defect to confirmed defect
comment:2 Changed 3 years ago by cash
(In [svn:6523]) Refs #2294 - groups_write_acl_plugin_hook depends on page owner since [svn:5782] and group actions seem to end up with the group owner as the page owner. This is a temporary fix for this issue. All group activity since [svn:5782] on installs now have corrupted group access lists. I have a script to fix this that I can share.
comment:3 Changed 3 years ago by brettp
@Cash Thanks. Could you attach your script to this ticket? I doubt anyone will be using trunk except us, but just in case anyone needs it... (I'd put it in an upgrade, but #2183...)
One problem is that the access:collections:write hook is overloaded by being both an access check and what populates the access dropdowns. The purpose of [svn:5782] was to limit the drop down options based upon page, but this breaks the actual access checks.
comment:4 Changed 3 years ago by cash
Ignore that upload. I just realized that I didn't finish the script. I was working on it for a different reason and thought that I had finished it. Sorry about that.
comment:5 Changed 3 years ago by cash
I attached a working script this time.
Changed 3 years ago by cash
comment:6 Changed 2 years ago by brettp
- Resolution set to fixed
- Status changed from new to closed
This upgrade was added to 1.7 in [svn:6553] and merged to trunk in [svn:6840].

[svn:5782] completely broke group access collections