Directus Extension - Disable Listing
Disable listing of collections for public users. Listings for users with app access to the data studio and admins are always allowed.
npm install directus-extension-disable-listing
Customize which routes to bypass the disabling
EXT_DISABLE_LISTING_BYPASS_ROUTES environment variable with the route name separated by commas. For
collections within the
items route, prefix with
auth as it's required for the Data Studio to function.
Customize which HTTP method to bypass the disabling
EXT_DISABLE_LISTING_BYPASS_METHODS environment variable with the HTTP method separated by commas.
Defaults to no method being bypassed.
Customize whether authenticated users bypass the disabling
EXT_DISABLE_LISTING_ALLOW_AUTHENTICATED environment variable with a boolean value.
GPLv3 License. See the LICENSE file.