riddlestone / brokkr-users Goto Github PK
View Code? Open in Web Editor NEWA Laminas module to provide database-stored users
License: BSD 3-Clause "New" or "Revised" License
A Laminas module to provide database-stored users
License: BSD 3-Clause "New" or "Revised" License
We want to access the user models via GraphQL, but we don't want to unnecessarily depend on all the laminas-mvc stuff.
If we split the module into the following, we could have a shared concept of users etc., but without dependencies we're not using:
We should include models and services in the main package, such as logins, password resets, etc., so that they can easily be implemented in various action handlers, such as mvc or graphQL.
Currently RoleFactory::canCreate()
returns true if the role ID looks like a User's role ID. This can result in it declaring it can create roles which it can't (if the ID isn't found in the database it throws a ServiceNotFound
exception).
A real-world problem caused by this is documented in riddlestone/brokkr-users-mvc#1.
We should check the database to make sure the user exists before claiming we can create the associated role.
Use riddlestone\brokkr-acl (already a dependency) to specify resources for the controllers in this module, allowing access to the actions to be granted/refused.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.