I believe that best place to start with this is some additional information regarding the function of our row level security capabilities.
Though based on the description, the request is to dynamically show or hide a full dimension level versus a row of a dimension? Which depending on the precise result and structure of the data, will take different methods and approaches. I have included several community posts below that contain information regarding the dynamic showing and hiding of the columns.
I hope this helps!