Comments (7)
I don't personally know/use Doctrine, but I gladly accept pull requests for fixes. I believe @Ocramius said he was going to take a closer look at Doctrine integration.
from bjyauthorize.
Don't you do this? https://github.com/bjyoungblood/BjyAuthorize/blob/master/src/BjyAuthorize/Provider/Identity/ZfcUserDoctrine.php
from bjyauthorize.
@gamempire yes, it is possible to achieve that by adding mappings for the role entity (xml/yaml/php, your choice). I'm not sure how to achieve that without coupling BjyAuthorize to Doctrine though.
Ideally, I would just have ZfcUserDoctrineORM to be coupled to DoctrineModule only (therefore removing the "ORM" part in the module name), and am still thinking about how to achieve that too.
from bjyauthorize.
@gamempire that part is just a raw SQL query, while it should eventually use DQL or an ObjectRepository (better)
from bjyauthorize.
I don't know what i saying but, in ZfcUser, after enabling ZfcUserDoctrineORM and running orm:schema-tool:update --force
it create the tables for me.
from bjyauthorize.
@gamempire that's exactly because the mappings are missing, but having BjyAuthorize register them would be assuming that BjyAuthorize depends on DoctrineModule...
from bjyauthorize.
And if we just do the same for BjyAuthorize as in ZfcUser? i mean create BjyAuthorizeDoctrine
from bjyauthorize.
Related Issues (20)
- Controller Guard action name HOT 1
- Super role full access HOT 3
- [Question] Why is the User table named "users" and not "user"? HOT 20
- Guards should conform the other onRoute/onDispatch listeners
- Can't use flashMessenger on RedirectionStrategy HOT 1
- Assign diferent roles to one user HOT 1
- Exception UnAuthorizedException thrown instead of error/403 template HOT 7
- Problem when not defined guard to access
- Action get have no permissions HOT 1
- Fatal error: unable to fetch or create an instance for BjyAuthorize\Config' HOT 1
- Strange behaviour in role assigning HOT 1
- Get current user role
- Unauthorized is a word and should not be CamelCased as if it were two words HOT 1
- isAllowed only works after reload HOT 1
- Not working with zendframework/zend-eventmanager (2.6.2) HOT 1
- RedirectionStrategy doesnt work on latest zf2 HOT 1
- Question: How can I load roles from database withouth using doctrine?
- Is this module discontinued? HOT 14
- getting an error during phpunit testing.
- Use BjyAuthorize with ZF3 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 bjyauthorize.