User privileges
-
How can we restrict a user from deleting a thread they created? I cannot find this in options?
Also, have an issue where one user shows that someone is follwing them, but that user never requested to follow them. Now this user is receiving notifications when the other user posts.
-
@julian said in User privileges:
Can they not unfollow the user?
No, when the user went to unfollow, he's not following anyone. I checked his profile, shows not following anyone. When I go to the other user, it shows that he's being followed by the other user that has no followers.
-
@torn2 said in User privileges:
@julian said in User privileges:
Can they not unfollow the user?
No, when the user went to unfollow, he's not following anyone. I checked his profile, shows not following anyone. When I go to the other user, it shows that he's being followed by the other user that has no followers.
Any ideas how to fix this issue?
-
If it is not showing in the UI you will have to look at the records in the database. Look at the key
followers:<target_uid>
if the uid of the other user is in there you can remove it.mongodb
db.objects.deleteOne({_key: "followers:<target_uid>", value: "<uid_of_other_user>" });
redis
zrem followers:<target_uid> <uid_of_other_user>