hensei-api/app/blueprints/api/v1
Justin Edmund 8381c668bc
Implement roles and visibility (#128)
* Add migrations to add user roles and party visibility.

* Update schema.rb

* Add admin check in User model

* Implement rudimentary visibility of teams

* Adds checks to Party model
* Hides parties from collection views depending on visibility
* Disallows viewing private parties if you're not the owner

* Add a party's visibility to blueprint

* Add admin mode

The API Controller checks if the user is logged in and whether they are an admin, and checks for the X-Admin-Mode header

* Implement admin mode overrides

* Add admin_mode to authorize

* Note to self: Implement user editing by admins

* Fix syntax error with equality in SQL

* Fix syntax error with method name

* Fix bug in who can see restricted parties

* Add privacy control to user profiles
2023-08-25 15:53:56 -07:00
..
api_blueprint.rb Create api_blueprint.rb 2022-12-21 01:20:13 -08:00
awakening_blueprint.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
character_blueprint.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
conflict_blueprint.rb Refactor weapon conflicts into model validations 2023-01-02 21:24:53 -08:00
empty_blueprint.rb Update blueprint for availability endpoints 2022-12-22 18:12:34 -08:00
error_blueprint.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
favorite_blueprint.rb Update blueprints to remove id field or identifier 2022-12-21 21:07:26 -08:00
grid_character_blueprint.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
grid_summon_blueprint.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
grid_weapon_blueprint.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
guidebook_blueprint.rb Adds guidebooks and gacha tables (#95) 2023-06-04 22:23:34 -07:00
job_accessory_blueprint.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
job_blueprint.rb Re-implement latest PRs on a clean Git history (#86) 2023-03-17 05:03:50 -07:00
job_skill_blueprint.rb Update blueprints to remove id field or identifier 2022-12-21 21:07:26 -08:00
party_blueprint.rb Implement roles and visibility (#128) 2023-08-25 15:53:56 -07:00
raid_blueprint.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
raid_group_blueprint.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
search_blueprint.rb July 2023 Feature Release: Tagging objects (#118) 2023-07-05 21:51:36 -07:00
summon_blueprint.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
update_blueprint.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
user_blueprint.rb Add theme to user table and blueprint 2022-12-25 16:01:40 -08:00
weapon_blueprint.rb (Hotfix) Fix awakening-related API errors (#108) 2023-06-21 01:10:05 -07:00
weapon_key_blueprint.rb Re-implement latest PRs on a clean Git history (#86) 2023-03-17 05:03:50 -07:00