Find Jobs
Hire Freelancers

Row level security with Entity Framework

$10-30 CAD

종료됨
게시됨 약 3년 전

$10-30 CAD

제출할때 지불됩니다
I'm in the process of building a website (MVP) for a client of mine. I'm looking for an expert in .NET core 3.1 who can help implement row level security with EF. The site already has user registration and login built in with .NET Core Identity and JWT. I already got users and roles created. I need to expand the security model in a way I can assign multiple clients to a user. After login the user should only see the assigned client's information. I'm looking to accomplish this by the use of Global Query Filters. Client and User model exists. Need help to add Client to User assignment model and then implement the query filter. If this projects is a success there will be additional work. In your bid please indicate how would you implement this solution and include any prior multitenant project you worked on. I would like to provide a bit more details to see if you would be comfortable with the requirements. The MVP was mainly built based on the below guide [login to view URL] What I'm looking to incorporate is described in this article [login to view URL] It seems like the best way to implement user level filtering is via Global Query Filters Currently there is a Company model. Also the default identity models. I would like to have a new model created something like CompanyUserAccess. This model (table) would have CompanyID and the ID from the AspNetUsers table. What I would like to have is a global filter which would take the list of CmpanyIDs assigned to the logged in user. This way a user would only see the companies that is assigned. The Project is in AngularTS and .NETCORE very simple just aspnetusers login , registration and company listing functionality is there currently. Have a nice day!
프로젝트 ID: 29416484

프로젝트 정보

제안서 1개
원격근무 프로젝트
활동 중 3년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
1 이 프로젝트에 프리랜서들의 평균 입찰은 $30 CAD입니다.
사용자 아바타
Hi there, If it is a simple project, just make a field where clients could be typed/picked up, then upon adding/updating validate that these clients actually exist and then extract their Ids and store them comma separated inside the User record. This way you avoid extra association table. Then when you access the data, extract those Ids from a user record, add them to EF query, provided that those data records somehow associated with the client (having client Id directly or via some relation). I've done it this way multiple times, should you be interested I can show you the code privately. Regards, Sergii
$30 CAD 7일에
0.0 (0 건의 리뷰)
0.0
0.0

고객에 대한 정보

국기 (INDIA)
Surat, India
4.8
10
8월 19, 2017부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.