5
है मैं AuthorizeAttributeकस्टम AuthorizeAttribute भूमिकाओं संपत्ति खाली
public sealed class RoleAuthorize : AuthorizeAttribute
{
protected override bool AuthorizeCore(HttpContextBase httpContext)
{
var roles = Roles;
return false;
}
}
से RoleAuthorize वर्ग को लागू किया है लेकिन जब फिल्टर संपत्ति भूमिकाओं हुआ रिक्त है। धन्यवाद।
मुझे पता है कि यह _long_ समय पहले से है, लेकिन क्या आपने कभी इसे समझ लिया है? एक ही मुद्दा मिला। – Tom