Comments (4)
Hi @ivanschwarz - Yes, although we are not yet using loopback 3.x in-house, so it's not on our immediate priorities list. Will happily review and test patches though.
from loopback-component-access-groups.
We have just published a new beta release that is compatible with loopback 3.x that is ready for community testing:
https://github.com/fullcube/loopback-component-access-groups/releases/tag/v2.0.0-beta1
from loopback-component-access-groups.
Agree that this would be better future-proofed by moving away from loopback-context and instead making use of the new paradigm whereby context is passed via options paramaters, per description at https://loopback.io/doc/en/lb3/Using-current-context.html
I've personally been working towards this, but I am having a heck of a time getting anything set on the options object that is available in operation hooks.
from loopback-component-access-groups.
Hi, is there an update on the user docs for loopback 3.0? I am getting an error when enabling middleware context
Error: loopback#context middleware was removed in version 3.0. See http://loopback.io/doc/en/lb2/Using-current-context.html for more details.
from loopback-component-access-groups.
Related Issues (20)
- Team model name hardcoded
- this.getCurrentUser returns wrong user HOT 1
- Crash with mongodb connector due to getCurrentContext() HOT 6
- Dependency issues on installation... HOT 2
- Bypass all access control for certain users HOT 4
- getCurrentContext HOT 3
- Allow for multiple group models HOT 1
- Different relationship between User and Group
- using custom user persisted model, insted of `User` Built-in model not working HOT 2
- An in-range update of chai is breaking the build 🚨 HOT 2
- user-context is missing bluebird require. HOT 5
- User can create Invoices for different groups
- Middleware can't allow multiple User models
- An in-range update of supertest is breaking the build 🚨 HOT 3
- GroupAccessModel should be created automatically if it doesn't exist HOT 1
- Initialize required middleware automatically
- GroupAccessModels is undocumented and has no effect HOT 1
- Undocumented access control bypass mechanisms
- Use GroupRoles to restrict access to GroupModel HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loopback-component-access-groups.