Closed (fixed)
Project:
Open Atrium
Version:
7.x-2.41
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2015 at 23:24 UTC
Updated:
6 Jul 2015 at 16:54 UTC
Jump to comment: Most recent
Comments
Comment #1
Argus commentedComment #2
Argus commentedComment #3
mpotter commentedOnce you created a Blueprint, you should have a new OG Permission for creating spaces of that type. So you could modify the space permissions for Space B admins so they can only create spaces of type Blueprint A.
Comment #4
Argus commentedThat doesn't seem to be the case. At least I'm not able to find any new OG Permission at
admin/config/group/permissions/node/oa_space.Comment #5
Argus commentedOh wait, are they listed in the "Open Atrium Buttons" section? That's odd. Anyway, these are not enabled by default, though still a Space administrator is able to clone the Blueprints created.
Comment #6
mpotter commentedYou should see a permission at the top of those called "Use any space type" that overrides all of the others. Turn this permission off and then enable the permissions for the space types that you need.
Comment #7
Argus commentedYeah saw that one, turned that off for the administrator member but it still lets them create any Space.
Reproduced this on a fresh OA install:
The result is that any Space can still be created.
Bug?
Comment #8
mpotter commentedCan you actually create the spaces you don't have permission for? Or is it just showing in the menu. Also, how are you creating spaces? Via the toolbar dropdown menu or via the Site Map? It's possible that since these permissions were implemented for a client last year that something has been changed or added that needs to check these same permissions.
Comment #9
Argus commentedI can create Spaces I don't have permission for using the dropdown menu and also using the Site Map. This is with "Use any space type" and the Space type in question disabled.
I also tried clearing cache and rebuilding permissions but that doesn't change a thing.
Comment #10
Argus commentedComment #11
Argus commentedComment #12
Argus commentedI tested this again and narrowed it down a bit; none of the permissions in
admin/config/group/permissions/node/oa_spaceseem to have any effect on a user that is promoted to Space administrator.Comment #13
Argus commentedThe "Administer group" permission seems to control everything. Once this is disabled the other permissions for a group administrator work as expected. Changing this to a documentation issue.
Comment #14
Argus commentedSuper annoying and complex. Still can't get blueprint creation working properly.
Here are the available permissions:
Open Atrium Buttons
Organic groups
None of the Open Atrium Buttons permissions seem to have any effect, no matter what other permission is enabled.
The "Edit group", "Administer group" and "Create Space content" permissions seem to be interchangeable, all control if a member can create Spaces. But this seems to be an "all or none" setting with no differentiation between available Spaces.
Comment #15
mpotter commentedYep, sorry for all the trouble on this one. Apparently the old code that implemented the specific space type permissions wasn't ever applied to some of the newer toolbar and space creation code.
I'm working on some commits to sneak this fix into v2.42 today.
Comment #16
mpotter commentedShould be fixed in commits a557252 and 9b13cbf in oa_core and commit 88ba853 in oa_toolbar.
Comment #17
Argus commentedAh great! I was starting to doubt myself. :-)