-
-
Notifications
You must be signed in to change notification settings - Fork 725
Enterprises login
To allow an 'Enterprise' user to access a part of the spree admin interface, you need to look into the following things:
-
Ability decorator app/models/spree/ability_decorator.rb Define the cancan ability for the model in the AbilityDecorator (you probably need to include :admin for any pages in the admin backend)
-
Override controller method for index / searching functions e.g. app/controllers/spree/admin/products_controller_decorator.rb You may need to manually filter out the items they can see by overriding the index or search actions in the spree controller. In theory, this should happen automatically by granting the :read action permission, but I cannot get it to work.
Development environment setup
- Pipeline development process
- Bug severity
- Feature template (epic)
- Internationalisation (i18n)
- Dependency updates
Development
- Developer Guidelines
- The process of review, test, merge and deploy
- Making a great commit
- Making a great pull request
- Code Conventions
- Database migrations
- Testing and Rspec Tips
- Automated Testing Gotchas
- Rubocop
- Angular and OFN
- Feature toggles
- Stimulus and Turbo
Testing
- Testing process
- OFN Testing Documentation (Handbooks)
- Continuous Integration
- Parallelized test suite with knapsack
- Karma
Releasing
Specific features
Data and APIs
Instance-specific configuration
External services
Design