Hello, everyone.
In my application I want to implement the following behavior:
I have a logged in user, and and then I fetch other user’s file,
I want to know which access rights my current user has to that resource (ie read, append, write)
Is there a 100% way to do this? Because I know that sometimes this info is hidden.
And in case if info is hidden, is the only way to find out is to actually try to perform actions corresponding to access right (i.e to check read right, try to read the resource, if no error occurred then the user has read access and do the same for append and write)