Allow setting a different user class for backend users#6329
Draft
Allow setting a different user class for backend users#6329
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6329 +/- ##
==========================================
- Coverage 89.35% 89.31% -0.05%
==========================================
Files 961 961
Lines 20195 20210 +15
==========================================
+ Hits 18046 18051 +5
- Misses 2149 2159 +10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
|
This seems like a good idea to me. This separation could be useful for some marketplace stores we work on as well. |
Member
Author
|
@jarednorman wanted to do this for a long time, and never got the time until I was able to delegate 😅 |
…o user_class. Update initializer template, menu conditions, controllers, views, and helper.
…_sqlite early for sqlite3 v2
…lick) and update admin docs to use Spree.admin_user_class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Disclaimer: this PR was entirely written by codex under my guidance, for good or for bad 😊
Summary
This change will open to having separate classes for customers and backend operators, this brings the following advantages:
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs:
The following are not always needed: