HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Permissions Tree Editor Problem

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#80013 (In Topic #16254)
Avatar

Community saint

Not sure where to start looking

Hi guys,

The last 2 months I've been unable to use the "PermissionsTree Editor". The editor it self opens up ok, but some of the zones in the tree are not accessible. The two zones that won't open up completely are the "Welcome" and "Forums".
I can expand each zone drilling down
–> +Zone:Forums
  –> +Module:forumview
    –> +TheNameOfMyForum
When trying to expand "TheNameOfMyForum" all I get is "Loading…" and it just hangs there. Trying to expand Zone:Welcome gives simular results with "Loading…" and just hanging there. Zone:Content Management is the same when trying to expand. The "Site Tree Editor" expands all zones as expected.

This problem is across 2 different operating systems and multilpe browsers so I'm thinking this is server side, either hosting or maybe something I've done, either mods or configuration, to ocPortal.

I've tried backing out the 2 mods on the forum but still no change. So I'm leaning on the number of usergroups causing this?

How would the number of usergroups affect this? Is there a point at which the number of usergroups start affecting the performance of using the Permissions Tree Editor?

Any suggestions or comments is greatly appreciated.

Steve
Back to the top
 
Posted
Rating:
#80040
Avatar

Community saint

Update to this…

It seems once I have more than 21 usergroups the "Permissions Tree Editor" grinds to a halt.

In order for me to do what I need to do with my site and forum, I need to give each developer a usergroup (and possibly more than one) with moderator rights so he/she could have full control over only his/her forum and sub-forums since ocPortal doesn't have the ability to give permissions directly to a member.

It would be nice to say this member has full moderator rights of this forum only and capable of creating new forums inside this forum grouping, without needing to assign a usergroup to him, drawing those rights from a group of rights I've predefined. In other words, this member has these rights, but for this forum (or forum grouping) only. Basically making that person a mini-admin of a forum grouping.

Steve
Back to the top
 
Posted
Rating:
#80053
Avatar

Community saint

Chris,

Is there a limit on the number of usergroups the "Permissions Tree Editor" can handle?

Steve
Back to the top
 
Posted
Rating:
#80054
Avatar

There's no hard-coded limit in ocPortal but things like suhosin often add their own limits to how many request variables PHP can handle and there are memory limits, timeouts, etc. I might be able to take a look in a few days, please open a ticket with whatever access I'd need to debug.

ocPortal does, under the hood, have a way to give privileges to members. The only way it is tied into the system is via the point store custom permissions product. You could (as crazy as this sounds) add a custom permissions product for a forum moderation permission and make that member buy it, then delete the product. That would be very fiddly and time consuming though! A developer could write an OcCLE command to do it too. But this is all on the fringes of what people normally might do, so it's not something it can do out of the box.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#80055
Avatar

Community saint

Chris Graham said

There's no hard-coded limit in ocPortal but things like suhosin often add their own limits to how many request variables PHP can handle and there are memory limits, timeouts, etc. I might be able to take a look in a few days, please open a ticket with whatever access I'd need to debug.

Thanks for the answer Chris. I've cleaned out some unnecessary groups and I'm able to use the permissions tree editor again. It will be awhile before I'll get back to creating more usergroups so it's a very low priority for me for awhile.

I have another issue that is giving me a headache now, but I'll create a new topic for that one.


ocPortal does, under the hood, have a way to give privileges to members. The only way it is tied into the system is via the point store custom permissions product. You could (as crazy as this sounds) add a custom permissions product for a forum moderation permission and make that member buy it, then delete the product. That would be very fiddly and time consuming though! A developer could write an OcCLE command to do it too. But this is all on the fringes of what people normally might do, so it's not something it can do out of the box.

I may try this just to see how it works.  :P

Steve
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: