What created this value?

I have an interesting problem that is being caused by a value in the table "elgg_private_settings".

A large percentage of my groups have a value of "0" for the name "elgg_default_access".

The groups that are behaving as per spec do not have a row in this table with this name.

Because I want all the groups to behave identically, and this row does not exist for some of them, I am thinking of deleting this row for the others. The fear if obviously a dependance on some other setting that might self-destruct if the row does not exist.

It appears some code in core and the group_tools plugin access this value from a few grep's, but my coding capability is fairly limited. How do to determine who created it and for what purpose.

 

 

  • The value 0 for the setting means that the default access level for the content created inside the group will be private (only the person who created it can see it).

    Elgg core doesn't have that feature by default, so it must have been added by some third-party plugin (most likely by group_tools).

    Does it matter that some groups have different default access level? After all it can be changed when creating content.

    If you were to remove the values manually from the database, how would you prevent it from getting saved there again?

  • Consistency matters for a UI.. People expect a certain behaviour across the whole site. My particular group of people are not very technology savvy and the less they need to touch the better. So I want defaults to be the most common use case (i.e. publish the object and send the notification). This is particularly important when the creator of an object does not get notification, someone could easily think the discussion or other object was notified to others and in fact it was not.

    Its cool. I think I understand which combination of settings creates the entry. I think its a bug, but I believe its in group_tools. Need to do some more fiddling to isolate the conditions.