Which database tables need to be altered to manually add/remove user from usergroup?

X

XFuser

Guest
Member
Hello,

We want to do some simple customizations where we run some simple cron job queries daily to check things like messages per last 30 days, likes received per last 30 days, etc. and then give/remove privileges/permissions by adding/removing users to Usergroups based on those queries.

To add and remove a user from a Usergroup, will simply adding/removing the Usergroup ID to/from the secondary_group_ids column of the xf_user table be enough?

In other words, which...

Read more
 
BlackSpigot General Chat
Rules Help Users
    S @ superme0s: This
    Top