avo-hq / avo

Build Ruby on Rails apps 10x faster
https://avohq.io
Other
1.52k stars 247 forks source link

Add policy rule for dynamic filters #3072

Open Paul-Bob opened 2 months ago

Paul-Bob commented 2 months ago

Context

Dynamic filters' visibility should be configurable, at the authorization level

class TeamPolicy < ApplicationPolicy
  # ...
  def show_dynamic_filters?
     !user.guest?
  end
  # ...
end
github-actions[bot] commented 2 months ago

This issue has been marked as stale because there was no activity for the past 15 days.

github-actions[bot] commented 1 month ago

This issue has been marked as stale because there was no activity for the past 15 days.

github-actions[bot] commented 1 month ago

This issue has been marked as stale because there was no activity for the past 15 days.

github-actions[bot] commented 2 weeks ago

This issue has been marked as stale because there was no activity for the past 15 days.

github-actions[bot] commented 3 days ago

This issue has been marked as stale because there was no activity for the past 15 days.