GithubHelp home page GithubHelp logo

aspnetgroupbasedpermissions's People

Contributors

kjellski avatar rickdaniel avatar xivsolutions avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aspnetgroupbasedpermissions's Issues

Issue when upgrading to Identity 2.0

Hi,

Having a problem with the method ClearUserRoles when I upgrade to the Identity 2.0 RTM

The error is on the following line:
_userManager.RemoveFromRole(userId, role.Role.RoleId);

Receive the following error:
Error 2 'Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole' does not contain a definition for 'Role' and no extension method 'Role' accepting a first argument of type 'Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole' could be found (are you missing a using directive or an assembly reference?)

From what I can gather IdentityUserRole has changed not allowing the above code. Not sure how to get around this. Any ideas?

Links in User list leading to 404

All links in Account Index method (Edit | Groups | Effective Permissions ||| Delete ), are leading to a 404 page.

Below the trace log details in case you need them:

Warning
47. -MODULE_SET_RESPONSE_ERROR_STATUS

ModuleName
IIS Web Core

Notification
MAP_REQUEST_HANDLER

HttpStatus
404

HttpReason
Not Found

HttpSubStatus
0

ErrorCode
The system cannot find the file specified.
(0x80070002)

ConfigExceptionInfo

Normal user can't change password

Hi!

First I d'like to say thanks for the usefull code. I'm trying to use this code, on testing, I found that normal users can't change their password (it show the login form). Can anyone please help me.

Thanks a lot

future of the project

... as mentioned on twitter, I like this project and would like to push it into a reasonable seed app that needs group based auth. What do you think about what's missing and what needs to be done in order to get it into, say the Online Gallery for Project templates?

Add annotation to Roles Controller

Thank you for this epic example. It is incredibly useful and your blog posts were outstanding.

Tiny comments:
On the Account / Index view, I changed the title from Index to Users for consistency.
I added an annotation to the Index action in the Roles Controller [Authorize(Roles = "Admin")]. Without it, the permissions list was visible to everyone.

These are trivial really, just thought I would pass them along.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.