I think you’ve done a good job searching for what is available, and it’s likely you won’t find a more complete example. So I would advise to simply debug what you currently have until you get it right.
I would say you need to solve two problems, do it one by one:
Hello there,
I followed this thread for a similar thing, but I need to hide the entire row based on the role
of the user that has been assigned to the record.
So I got the condition working but I’m struggling to hide the entire row…could you help?
Thanks!!!
Hello and thanks for your answer. I can’t really set that on the owner role because I have two users on the record and I should hide the record only on a certain case that I have already set. I only need to hide the entire row in this certain case!
hello @p.konetskiy,
thanks for your answer but perhaps I haven’t explained my self properly!
I can’t use simply the ‘owner’ in role because the permission are based on
the assigned userid and the manager which are two fields in my module.
So the permission is set to group because the manager has to see the records
of the workers but when the record is assigned to a manager then
the other field is assigned to ‘the manager of the manager’ which is a sort of director.
This last thing makes it so that the manager would be able to see the records of the
director when the record is assigned to the director…so this is the problem but I have sorted it
following the steps I explained before.
Thanks for your help anyway