Hi,
You can do that by throwing a CreditsException from the
notifyNewTablemethod of the MetadataProvider. Note that you need to return true from the
wantsTablesNotifications for the notifyNewTable method to be called
Another way would be to make the check in the
getItems method and hijack not-permitted item names to different dummy items; in this case you don't have the user name to do the check but the session id so you should leverage the notifyNewSession and notifySessionClose to keep an index of your user-sessions.