RSS Feed/News Set a permission for a user from code on the fly

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,543
Points
823

Reputation:

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

Continue reading...
 
Status
Not open for further replies.
Top