Jump to content

Topic on Extension talk:Semantic Extra Special Properties/Flow

USERGROUP not working for custom user groups

5
Summary by Kghbln

Either update to SMW 3.0.0 or use cron to rebuild data for user pages on a regular basis or just refresh the respective user page after assigning a new user group.

Revansx (talkcontribs)

The SESP parameter "_USERGROUP" which adds a property to user pages with the users assigned groups .. works well for built-in mw groups, however, I can not seem to get it to work for custom groups. For example, I add:

$wgGroupPermissions['team-A']['read'] = true;

to my LocalSettings.php and the group exists in the Modify User Rights spacial page

I add the user to the group "team-A" and that works well.

SESP however does not pick up on this.

Am I missing a step?

Can someone confirm this.

Revansx (talkcontribs)
Kghbln (talkcontribs)

Works for me. You did refresh the semantic data of the respective user's page?

Revansx (talkcontribs)

yes. i had to do that to get the custom groups to show in SESP.. but it seems that it's not tracking the updates even after I make sure the job queue is clear


Kghbln (talkcontribs)

For the jobs to roll in you need at least SMW 3.0.0. Until then you can rebuild the data for the user pages on a regular basis via cron.