I wrote a DataExtender that โhidesโ certain elements from the view. The idea is that some elements should not be displayed in any list in the graphical interface, although the user can have access to it (similar to system files / folders in windows that are usually not visible, even if you have the right to read them).
It works fine, but now I want to make an exception for system administrators: they should always see each item. But I do not see how I can extract the current user from my DataExtender. Is it possible? If so, how?
source share