If metadata schema is associated to a folder in DAM, respective folder/jcr:content will have a property named metadataSchema with value being the schema path.
Conditional logic in this use case to control the display of actions goes like this,
Check if a DAM folder has central-library schema(via a check using the property above) for which DAM folder path is retrieved from requestPathInfo object via requestPathInfo.suffix.
Using this conditional check in granite:renderconditions or in granite:hide will work only on page load. As we switch between folders within /assets.html, conditional check will not be evaluated for the same reason mentioned above.
You can make use of JS
To get the DAM folder path on select of an asset by listening to click event on Quick action - "Select" button. (based on your AEM version, use the selectors considering all 3 view - list, column and card)
Perform the logic using the path retrieved in previous step
via AJAX call to servlet (conditional check based on schema using property above) or
conditional check based on folder path (Only if it is known that schema is limited to one or two folder paths and this logic need not be moved to servlet, can be written as is in JS)
Display/hide desired action elements by .addClass() or .css() jQuery function based on the outcome of previous step