Set a permission for a user from code on the fly

I am building a system for a very specific use case where users attach to a parent account, kind of like employees of a business.

All posts have to be on behalf of the business account, and not the individuals, though some content is drawn from the profile of the employee, like name, phone number etc.

I don't want the individual users to have post permissions per-se and they can't impersonate the user. Rather what happens is that if the parent is set, it sets the post and thread user as...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ