Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What Paths Are Used #8

Closed
larry-tx opened this issue Apr 17, 2014 · 3 comments
Closed

What Paths Are Used #8

larry-tx opened this issue Apr 17, 2014 · 3 comments

Comments

@larry-tx
Copy link

I got the extension installed, migrated up successfully, and made the changes to my config as indicated in your instructions. Now, for the life of me, I can't figure out how to use the functionality of the extension. Specifically, I can't find how to even get to the login page. I've tried the following:

  • advanced.dev/login
  • advanced.dev/user/login
  • advanced.dev/auth/login
  • advanced.dev/auth/user/login

They all produce a 404 error. Similarly, all of the following produce 404 errors:

  • advanced.dev/auth
  • advanced.dev/user

Your installation instructions give fairly scanty directions on how to install; I was successful in doing that only after figuring out and completing many other steps not included in the instructions. Could you possibly provide some support on where to go after installation? I'd like to at least be able to log in and manage users.

Also the tables created as part of the migrations for this extension seem to suggest some sort of ACL, but I can find anything for the management of ACL in the extension. Am I missing something?

@robregonm
Copy link
Owner

Hi Larry,
The extension uses RBAC, however, since Yii2 recently changed the implementation for RBAC ths extension needs some changes in order to support the new classes.
Regarding the URLs, I'll add a more descriptive manual for usage.
However, here are some of the valid urls by default (which you can find if you take a quick look to controllers and actions in source code):

  • yourhost/auth/default/login
  • youhost/auth/default/logout
  • yourhost/auth/default/signup
  • yourhost/auth/default/reset-password (and some other actions which aren't fully implemented, however your contribution is very welcomed)
  • yourhost/auth/user/index (For user management, still basic but functional)
  • yourhost/auth/profile/view (for user profile)

Regardless of these urls, notice that they are subject to your local yii2 config file, since the urls can be changed (or aliased) from the urlManager component.

Regards.

@larry-tx
Copy link
Author

Thanks a million. Those URLs did indeed work. I'm glad to hear that you're adding those to the instructions. When do you think you'll make the updates for RBAC? (I know that it's a mess with Yii being in beta status.)

@robregonm
Copy link
Owner

Hopefully during the next week, since they are still making some changes to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants