diff options
| author | Roy <Roy.mail.net@gmail.com> | 2022-10-27 18:58:41 +0300 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2022-10-27 18:58:41 +0300 |
| commit | 1383a3210016e5f9c14aa232cd9bd53005774483 (patch) | |
| tree | 697c80780a55753ea5076fd8246c5bc8f7fe093a /Software/Visual_Studio/FSE/Tango.FSE.BL | |
| parent | 3f32716c553a5f13770c38b3a49c81259ac4ba08 (diff) | |
| download | Tango-1383a3210016e5f9c14aa232cd9bd53005774483.tar.gz Tango-1383a3210016e5f9c14aa232cd9bd53005774483.zip | |
Implemented Twine Studio user management.
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.BL')
| -rw-r--r-- | Software/Visual_Studio/FSE/Tango.FSE.BL/Services/OrganizationsService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.BL/Services/OrganizationsService.cs b/Software/Visual_Studio/FSE/Tango.FSE.BL/Services/OrganizationsService.cs index 1c2337a0b..417f1bd2f 100644 --- a/Software/Visual_Studio/FSE/Tango.FSE.BL/Services/OrganizationsService.cs +++ b/Software/Visual_Studio/FSE/Tango.FSE.BL/Services/OrganizationsService.cs @@ -76,7 +76,7 @@ namespace Tango.FSE.BL.Services using (ObservablesContext db = ObservablesContext.CreateDefault()) { return db.Roles - .Where(x => x.Name.StartsWith("FSE")) + .Where(x => x.Code >= 1000 && x.Code < 3000) //Only FSE & Twine Studio .Include(x => x.RolesPermissions) .Include(x => x.RolesPermissions.Select(y => y.Permission)) .ToList(); |
