aspnetgroupbasedpermissions's People
Forkers
rickdaniel tutsblog kjellski seidu626 frasiec pointeman mvanhelmont tasmith81 asadrazayazdani abstract4713 jamesmaxwell totpero charreal saeedesmaeili ubwahid sandeepshindeit andreybor snowattitudes aguiareduardo huoxudong125 leandroagudelo ashgadala victorhenriquez martic unclebuddhabelly modulexcite codebuger88 zhangrl dharmeshpatel33 antoont choullanaresh dalhyncarrillo abdoneem s0mprasong rafysanchez seiya1223 allengodne junrikson markchipman khawaja74 rickykiet83 jerryzfc andramarkov eltomjan elderdo salamaelrabeyaspnetgroupbasedpermissions'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
Username in Readme
Hi there,
in Readme, username is tester
not [email protected]
Update from Identity 1.0 and 2.1
Following your mail, this my source code
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
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.