Add feature flags #125

Merged
greg merged 2 commits from feature/124-feature_flags into master 2023-05-26 17:56:50 +00:00
Owner

Also prepares route, controller, and view for the upcoming RS dashboard.

Features are disabled by default when hidden behind flags. You can enable a feature in the console, by passing the actor (user), like so:

Flipper.enable_actor :remotestorage, User.find_by(cn: 'jimmy')

Or to enable it for all users:

Flipper.enable :remotestorage

Or, if you're logged into an admin account, you can open the Web UI at /flipper and enable/disable features there. Note, if you want to add a user via the UI, use actor IDs like this: User;5 (model;ID).

closes #124

Also prepares route, controller, and view for the upcoming RS dashboard. Features are disabled by default when hidden behind flags. You can enable a feature in the console, by passing the actor (user), like so: ```rb Flipper.enable_actor :remotestorage, User.find_by(cn: 'jimmy') ``` Or to enable it for all users: ```rb Flipper.enable :remotestorage ``` Or, if you're logged into an admin account, you can open the Web UI at `/flipper` and enable/disable features there. Note, if you want to add a user via the UI, use actor IDs like this: `User;5` (model;ID). closes #124
raucao added this to the remoteStorage Integration milestone 2023-05-23 17:26:13 +00:00
raucao added the
kredits-2
label 2023-05-23 17:26:13 +00:00
raucao added 2 commits 2023-05-23 17:26:13 +00:00
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
Release Drafter / Update release notes draft (pull_request) Successful in 4s Details
c58358c66e
Add feature flags, RS dashboard dummy
closes #124
refs #94
raucao requested review from greg 2023-05-23 17:26:24 +00:00
raucao requested review from galfert 2023-05-23 17:26:24 +00:00
raucao requested review from bumi 2023-05-23 17:26:25 +00:00
raucao requested review from fsmanuel 2023-05-23 17:26:31 +00:00
raucao added
kredits-1
and removed
kredits-2
labels 2023-05-23 19:45:20 +00:00
greg approved these changes 2023-05-26 17:56:24 +00:00
greg left a comment
Owner

Tested locally with Docker Compose, added the env variable for the RS server and the feature flag for my user
👍

Tested locally with Docker Compose, added the env variable for the RS server and the feature flag for my user 👍
greg merged commit 87720ef285 into master 2023-05-26 17:56:50 +00:00
greg deleted branch feature/124-feature_flags 2023-05-26 17:56:51 +00:00
Sign in to join this conversation.
No reviewers
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/akkounts#125
No description provided.