mftsccs-browser 2.2.36-beta → 2.2.37-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -122,6 +122,7 @@ export declare class AccessControlService implements IAccessControlService {
|
|
|
122
122
|
* @returns Promise<boolean> - True if access is granted, false otherwise
|
|
123
123
|
*/
|
|
124
124
|
private checkAccessInternal;
|
|
125
|
+
private checkGroupAccessInternal;
|
|
125
126
|
/**
|
|
126
127
|
* Static method to check if an entity is a super admin
|
|
127
128
|
* Uses the default singleton instance
|
|
@@ -182,6 +183,21 @@ export declare class AccessControlService implements IAccessControlService {
|
|
|
182
183
|
* @returns Promise<AccessResult[]> - Array of access results
|
|
183
184
|
*/
|
|
184
185
|
static revokeAccessBulk(request: BulkConceptAccessRequest): Promise<AccessResult[]>;
|
|
186
|
+
/**
|
|
187
|
+
* Make a concept private by setting its accessId
|
|
188
|
+
*
|
|
189
|
+
* @param conceptId - The concept ID to make private
|
|
190
|
+
* @returns Promise<boolean> - True if successful, false otherwise
|
|
191
|
+
*/
|
|
192
|
+
/**
|
|
193
|
+
* Make a concept private by assigning an accessId >= 10000 and granting the owner full permissions.
|
|
194
|
+
*
|
|
195
|
+
* - reads the current entity id from localStorage
|
|
196
|
+
* - verifies the logged-in entity is the concept owner
|
|
197
|
+
* - assigns read/write/execute/delete to the owner's entity id
|
|
198
|
+
* - ensures concept.accessId is >= 10000 and updates the local ConceptsData cache
|
|
199
|
+
*/
|
|
200
|
+
makeConceptPrivate(conceptId: number): Promise<boolean>;
|
|
185
201
|
}
|
|
186
202
|
/**
|
|
187
203
|
* Get the default singleton instance of AccessControlService
|