mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2026-09-16 18:13:17 +00:00
[ACS-12668] [CQI] ACS - The bulkfsimport tool endpoint relies on Basic Authentication (#4394)
This commit is contained in:
+1
-1
@@ -725,7 +725,7 @@
|
||||
"filename": "remote-api/src/test/java/org/alfresco/repo/web/scripts/servlet/RemoteAuthenticatorFactoryAdminConsoleAccessTest.java",
|
||||
"hashed_secret": "4ffa743f28fc949c19e65ab045d7906d0609a2c2",
|
||||
"is_verified": false,
|
||||
"line_number": 268,
|
||||
"line_number": 277,
|
||||
"is_secret": false
|
||||
}
|
||||
],
|
||||
|
||||
@@ -228,6 +228,7 @@
|
||||
<list>
|
||||
<value>AdminConsole</value>
|
||||
<value>AdminConsoleHelper</value>
|
||||
<value>Bulk Filesystem Import</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
+9
@@ -221,6 +221,15 @@ public class RemoteAuthenticatorFactoryAdminConsoleAccessTest extends BaseSpring
|
||||
complexCheckOfScriptCases(families);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAdminCanAccessBulkFilesystemImportScript()
|
||||
{
|
||||
Set<String> families = new HashSet<>();
|
||||
families.add("Bulk Filesystem Import");
|
||||
org.junit.Assert.assertTrue(remoteUserAuthenticatorFactory.getAdminConsoleScriptFamilies().containsAll(families));
|
||||
complexCheckOfScriptCases(families);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tested access to the AdminConsole for an non literal admin user but with admin permissions (user added to ALFRESCO_ADMINISTRATORS) and accessing via Basic Auth
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user