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",
|
"filename": "remote-api/src/test/java/org/alfresco/repo/web/scripts/servlet/RemoteAuthenticatorFactoryAdminConsoleAccessTest.java",
|
||||||
"hashed_secret": "4ffa743f28fc949c19e65ab045d7906d0609a2c2",
|
"hashed_secret": "4ffa743f28fc949c19e65ab045d7906d0609a2c2",
|
||||||
"is_verified": false,
|
"is_verified": false,
|
||||||
"line_number": 268,
|
"line_number": 277,
|
||||||
"is_secret": false
|
"is_secret": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -228,6 +228,7 @@
|
|||||||
<list>
|
<list>
|
||||||
<value>AdminConsole</value>
|
<value>AdminConsole</value>
|
||||||
<value>AdminConsoleHelper</value>
|
<value>AdminConsoleHelper</value>
|
||||||
|
<value>Bulk Filesystem Import</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|||||||
+9
@@ -221,6 +221,15 @@ public class RemoteAuthenticatorFactoryAdminConsoleAccessTest extends BaseSpring
|
|||||||
complexCheckOfScriptCases(families);
|
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
|
* 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