Skip to content

Add user access flags and RCN sync#315

Merged
joseganora merged 2 commits intostagingfrom
WN-350
Mar 6, 2026
Merged

Add user access flags and RCN sync#315
joseganora merged 2 commits intostagingfrom
WN-350

Conversation

@jajaramillo24
Copy link
Collaborator

Introduce two new user access flags (can_access_legacy_whatnow, can_access_preparedness_v2): add a migration to store them, update the User model (fillable, casts), include them in API responses (UserResource) and in the user edit frontend (Vue) with UI toggles and payload changes. UserController now applies the flags from requests and, when changed, calls the RCN API via a new ApplicationResource::updateRules method; failures are logged. Also add translations for the new UI keys and permit x-api-key in CORS. A new .continue example agent config was added.

Introduce two new user access flags (can_access_legacy_whatnow, can_access_preparedness_v2): add a migration to store them, update the User model (fillable, casts), include them in API responses (UserResource) and in the user edit frontend (Vue) with UI toggles and payload changes. UserController now applies the flags from requests and, when changed, calls the RCN API via a new ApplicationResource::updateRules method; failures are logged. Also add translations for the new UI keys and permit x-api-key in CORS. A new .continue example agent config was added.
@joseganora joseganora merged commit 514a990 into staging Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants