Closed (fixed)
Project:
Drupal Commons
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
27 Jun 2013 at 19:59 UTC
Updated:
4 Jan 2014 at 03:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
devin carlson commentedI'm not 100% sure on the desired default permissions for documents (@ezra-g?) but Commons Documents currently lacks any default permissions for core or OG. This prevents the user from seeing the mini form (although the document tab shouldn't appear at all, which sounds like a separate bug).
The attached patch adds standard default permissions and an update function to revert core and OG permissions.
Comment #2
behoppe333 commentedThanks devincarlson. I created fresh install from scratch and applied patch from #1.
My basic problem is that I can't configure my site so that group members who are regular authenticated site users can create documents. Even with the patch I am still stuck. Here are my steps:
When I enabled Commons Documents I observed that people > permissions has following settings for Documents:
I think before patch #1 was available, all of the above were not allowed to auth users by default. So instead of editing the above permissions manually as I did previously, this time I just left them as above.
I was able to post a document using user-1 admin account. I created Jane Doe regular user account and made her a member of the group "Engineering team". No matter how I edited permissions (e.g., enabling all document permissions in people/permissions for authorized users, OG permissions for node-group allowed to members, and OG permissions for user-user allowed to members) Jane Doe cannot post a document to group Engineering team. This is same behavior I observed before the patch.
I have a much easier time allowing site admins and group admins to post documents. The problem is allowing regular group members to post documents.
Comment #3
devin carlson commented@behoppe333 The patch in #1 changes the default OG permissions which will only apply to new groups. If you have existing groups you'll need to add the "* document content" permissions to them manually visiting the group and going to administer group -> permissions.
I'm not sure if the update function should be expanded to automatically add these permissions to all existing groups.
Comment #4
behoppe333 commenteddoh! Thanks devincarlson. I feel silly for overlooking the permissions for that specific group. Regular members of groups in my site can now create documents :-)
Comment #5
japerryTagging 3.3 -- this should be fixed with other work I'm doing to the documents feature, to bring it upto date with other content type features in commons.
Comment #6
japerryFixed!
http://drupalcode.org/project/commons_documents.git/commit/3a36f2b
Also includes feature syntax updates.