Class: Karafka::Web::Pro::Ui::Lib::Policies::Requests
- Inherits:
-
Object
- Object
- Karafka::Web::Pro::Ui::Lib::Policies::Requests
- Defined in:
- lib/karafka/web/pro/ui/lib/policies/requests.rb
Overview
Per request policies setup class. Allows for writing low level policies that can be used to block certain Web UI functionalities on the request level.
Instance Method Summary collapse
-
#allow?(_env) ⇒ Boolean
Should this request be allowed or not.
Instance Method Details
#allow?(_env) ⇒ Boolean
Note:
By default we do not limit anything in the Web UI, however particular granular policies may limit things on their own.
Returns should this request be allowed or not.
27 28 29 |
# File 'lib/karafka/web/pro/ui/lib/policies/requests.rb', line 27 def allow?(_env) true end |