I’m writing a NodeBB plugin and need to let User A inherit all of User B’s permissions, including:
-
Creating topics and replies on their behalf
-
Changing their password
-
Chatting as them
-
Editing or deleting their existing posts
In other words, I want two linked accounts so that logging in as User A gives full control over User B’s account. What’s the best way to implement this in my plugin?
I tried going through all the permission hooks but didn’t find anything suitable.
Appreciate any help—thanks!