Skip to content

Conversation

@NeonGamerBot-QK
Copy link
Member

@NeonGamerBot-QK NeonGamerBot-QK commented Oct 17, 2025

relating to #11 ,
mainly this pr does:

  • adds flipper and blazer
  • makes a simple admin ui
  • makes it work with the correct permissions system

@cskartikey
Copy link
Member

dm on slack when its ready for review

@NeonGamerBot-QK NeonGamerBot-QK marked this pull request as ready for review October 18, 2025 04:45
@cskartikey
Copy link
Member

will review tomorrow

@felixgao-0
Copy link
Collaborator

use conventional commits >:3

@cskartikey
Copy link
Member

probably do this by adding a policies/admin/base_policy.rb and default everything under the admin namespace to user.admin?, then for specific stuff like blazer or mission control we can make their own policies under admin/ and tweak as needed.
for example, if we want fraud dept to access blazer too, just

def index?
  user.fraud_dept? || user.admin?
end

PS: you might want to look into https://github.com/thoughtbot/administrate!

@NeonGamerBot-QK
Copy link
Member Author

NeonGamerBot-QK commented Oct 18, 2025

ight i fixed it to use pundit, js need to do:

  • use adminstrative dash our own one rn looks fine, if needed in future ts can be used
  • use new is_ functions (admin, fraud_dept)
  • test it
  • use tw css on the admin page
  • integrate user search and project search (?)

@cskartikey cskartikey force-pushed the main branch 2 times, most recently from dafcba4 to 7613700 Compare October 18, 2025 18:51
@NeonGamerBot-QK NeonGamerBot-QK added enhancement New feature or request pre release labels Oct 26, 2025
@NeonGamerBot-QK NeonGamerBot-QK added the P2 - Medium Priority pls do soon :3 label Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request P2 - Medium Priority pls do soon :3 pre release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants