1
0
Fork 0
arangodb/UnitTests/HttpInterface
Simon 1d57a46168 Refactor Authentication Layer (3.3) (#4588)
* added tests for revokeCollection and revokeDatabase

* optimized user permission test

* ui selection bugfix

* fixed ldap ui login

* login view

* Authentication refactoring

* localstorage fallback if user config is not available

* Fixing permission resolution test

* Adding missing import

* local storage queries now supported

* disabled collection task check for ldap

* added internal ldapEnabled function and ldap config to the ui

* more db creation tests

* removed console logs

* render fix

* Various authentication related fixes

* exec ldap test also for cluster

* Adding support to refresh user rights from external auth sources

* ldap test howto comment

* Handling roles more correctly

* jwt

* login view

* First part of rework of LDAP documentation.

* test roles in a ldap environment

* Changing role handling

* Finish revision of the LDAP chapter in the manual.

* Fixing user header

* Fixing some slight issues with LDAP users and roles

* Removing unused code

* Removing unused code

* added ldap test

* fixing a bug in restuserhandler

* more ldap tests

* ldap tests

* ldap tests

* optimized ldap testing, added cluster support, fixed some auth tests

* ldap cleanup test

* ldap tests

* auth tests

* ldap test

* Changing permission defaults

* revert change

* updated user helper test

* rm of try catch block connection

* Removing FeatureCacheFeature

* Changed permission resolution according to discussion

* updated the docs to clarify the permission resolution and the intricacies of LDAP users

* Fixing wrong permissions check in handling of PUT in ResUserHandler

* Using revision ID when replacing users

* Adding basic replace test

* tests

* Fixing some outstanding issues

* Fixing test setup, optimizing some stuff

* Fixing permission resolution rules, testsuite setup, etc

* Fix deadlock

* Adding error message for keyspace, slightly changing test setup

* Removing remaining mentions of FeatureCacheFeature

* Fix jslint

* Fixing some failed tests

* Fixing cluster authentication issue, red tests

* Fixing ldap testsuite, adding trace logging

* Fixint ldap tesuite setup and LDAP recognition

* Fixing an assert

* Cleanup, adding changelog entry

* fix typo

* Fixing dump_authentication test

* improvements found during code review

* oops

* updated CHANGELOG

* Fixing broken handling, disallowing adding of local users when disabled

* added tests for ldap search mode

* Fixing testInvalidGrants

(cherry picked from commit bc7ea2aaa29a9ed0974898f487e8a318f24912f1)

* Removing undefined auth level externally

(cherry picked from commit 70859f43ae6fd694fdbf70f669fbfdafc58e7913)

* Fixing previous commit

(cherry picked from commit 2fbcffd2ed657862ef9fb5e6d45201a6ec8ada69)

* more use of sessionstorage

* intentionally removed `after` methods from tests

because they are executed before the tests start
no cleanup is performed right now after the authentication tests
however, a cleanup is done at start of every test

* ldap tests all modes

* fix LDAP test invocation

* Added roles transformation to ldap test suite

* Fix compilation of community version.

* Imrpved the ldap testsuites by unifying their options

* fix permission problems for system collections

* Improved LDAP configuration documentation.

* Grunt.

* fixed some ro/rw display issues

* fixed some ro/rw display issues part 2

* grunt build

* bump version number

* Fixed typos in LDAP manual
2018-02-28 13:24:18 +01:00
..
Gemfile
README
api-admin-spec.rb
api-aql-builtin-spec.rb
api-aqlfunction-spec.rb
api-async-spec-timecritical.rb Replaced lingering calls to removed API. (#3702) 2017-11-15 20:04:03 +01:00
api-attributes-spec.rb
api-batch-spec.rb
api-collection-access-spec.rb try to fix another permissions problem when collections are accessed … (#3485) 2017-10-25 18:05:17 +02:00
api-collection-mmfiles-noncluster-spec.rb
api-collection-mmfiles-spec.rb Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
api-collection-rocksdb-noncluster-spec.rb
api-collection-rocksdb-spec.rb Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
api-cursor-spec-noncluster.rb
api-cursor-spec.rb fixed issue #4056 (#4058) 2017-12-16 15:10:29 +01:00
api-database-spec.rb
api-document-create-spec.rb
api-document-delete-spec.rb
api-document-key-spec.rb
api-document-read-spec.rb
api-document-update-spec.rb
api-documents-spec.rb
api-edge-spec.rb
api-edges-spec.rb
api-endpoint-spec.rb Converted endpoint handler from JS to C++ (#2905) 2017-08-01 09:53:04 +02:00
api-explain-spec.rb fixed invalid object access, added a test (#2862) 2017-07-25 22:26:51 +02:00
api-export-spec-timecritical-noncluster.rb
api-foxx-manager-spec-nightly.rb
api-general-graph-spec.rb cleanup after testruns 2017-09-12 14:47:52 +02:00
api-http-spec.rb
api-import-noncluster-spec.rb
api-import-spec.rb
api-index-geo-spec.rb unify index struct return values in cluster and non-cluster for fulltext and geo indexes (#2534) 2017-06-08 13:35:00 +02:00
api-index-hash-spec.rb added "deduplicate" attribute for array indexes (#2644) 2017-06-30 17:53:50 +02:00
api-index-persistent-spec.rb
api-index-skiplist-spec.rb
api-index-spec.rb
api-pipelining-spec-noncluster.rb
api-query-analysis-spec-timecritical.rb
api-replication-global-spec.rb replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00
api-replication-mmfiles-spec.rb Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
api-replication-rocksdb-spec.rb fix missing events in RocksDB-based replication for transactions that… (#4276) 2018-01-15 22:44:54 +01:00
api-simple-all-spec.rb
api-simple-any-spec.rb
api-simple-example-spec.rb
api-simple-fulltext-mmfiles-spec.rb
api-simple-geo-mmfiles-spec.rb
api-simple-modify-example-cluster-spec.rb
api-simple-modify-example-spec.rb
api-simple-range-spec.rb
api-statistics-spec.rb
api-transactions-cluster-spec.rb Feature/js to cpp transaction handler (#2985) 2017-08-11 09:29:34 +02:00
api-transactions-noncluster-spec.rb Feature/js to cpp transaction handler (#2985) 2017-08-11 09:29:34 +02:00
api-traversal-cluster-spec.rb
api-traversal-edgecollection-cluster-spec.rb
api-traversal-edgecollection-noncluster-spec.rb
api-traversal-noncluster-spec.rb
api-users-spec.rb Refactor Authentication Layer (3.3) (#4588) 2018-02-28 13:24:18 +01:00
api-view-spec-noncluster.rb
api-wal-noncluster-spec-mmfiles.rb
arangodb.rb RocksDB WAL tailing fixes (#3595) 2017-11-10 09:31:53 +01:00
arangomultipartbody.rb
run-tests
run-tests-replication
stress-test.rb

README

Conventions for testing framework:
==================================

All files in this directory whose name starts with "api-"
and ends with ".js" automatically take part in http
or https server tests, with the exception of 
"api-replication-spec.js".

If the filename contains the string "-cluster-", then it is
only executed when testing in cluster mode. If the filename
contains the string "-noncluster-", then it is only executed
when testing in single instance mode.