mirror of
				https://github.com/gristlabs/grist-core.git
				synced 2025-06-13 20:53:59 +00:00 
			
		
		
		
	fix: getting orgs without verifying scope
This commit is contained in:
		
							parent
							
								
									013e94e470
								
							
						
					
					
						commit
						1a89799192
					
				| @ -2034,9 +2034,8 @@ export class HomeDBManager extends EventEmitter { | ||||
|       const orgId = ws.org.id; | ||||
|       let orgQuery = this._buildOrgWithACLRulesQuery(scope, orgId, options); | ||||
|       orgQuery = this._addFeatures(orgQuery); | ||||
|       const orgQueryResult = await verifyEntity(orgQuery); | ||||
|       const org: Organization = orgQueryResult.data; | ||||
| 
 | ||||
|       const orgQueryResult = await orgQuery.getRawAndEntities(); | ||||
|       const org: Organization = orgQueryResult.entities[0]; | ||||
|       // Get all the non-guest groups on the org.
 | ||||
|       const orgGroups = getNonGuestGroups(org); | ||||
|       // Get all the non-guest groups to be updated by the delta.
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user