1
0
Fork 0
arangodb/arangod/RocksDBEngine
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
..
CMakeLists.txt make the replication applier auto-start for the RocksDB engine if con… (#3647) 2017-11-15 12:02:37 +01:00
RocksDBAqlFunctions.cpp fixed issue #4185: On execution of FULLTEXT search / AQL query db is … (#4239) 2018-01-15 22:46:14 +01:00
RocksDBAqlFunctions.h
RocksDBBackgroundThread.cpp forward port replication bugfixes from 3.2 (#4575) 2018-02-13 22:14:23 +01:00
RocksDBBackgroundThread.h
RocksDBCollection.cpp replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00
RocksDBCollection.h replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00
RocksDBColumnFamily.h a few simplifications and extensions (#3115) 2017-08-24 14:46:16 +02:00
RocksDBCommon.cpp replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00
RocksDBCommon.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
RocksDBComparator.cpp Feature/rocksdb hashsearch (#2713) 2017-07-05 10:18:52 +02:00
RocksDBComparator.h Feature/rocksdb hashsearch (#2713) 2017-07-05 10:18:52 +02:00
RocksDBCounterManager.cpp Feature 3.3/add recovery tests for intermediate commits (#4106) 2017-12-20 09:46:12 +01:00
RocksDBCounterManager.h Feature 3.3/add recovery tests for intermediate commits (#4106) 2017-12-20 09:46:12 +01:00
RocksDBCuckooIndexEstimator.h Feature/rocksdb hashsearch (#2713) 2017-07-05 10:18:52 +02:00
RocksDBEdgeIndex.cpp properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
RocksDBEdgeIndex.h properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
RocksDBEngine.cpp replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00
RocksDBEngine.h explicitly control activation of RocksDB write-throttling feature (#4359) 2018-01-19 09:32:47 +01:00
RocksDBExportCursor.cpp properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
RocksDBExportCursor.h properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
RocksDBFulltextIndex.cpp fixed issue #4185: On execution of FULLTEXT search / AQL query db is … (#4239) 2018-01-15 22:46:14 +01:00
RocksDBFulltextIndex.h Feature 3.3/fulltext optimizations (#3925) 2017-12-19 21:40:12 +01:00
RocksDBGeoIndex.cpp Bug fix 3.3/rocksdb truncate (#4338) 2018-01-16 19:52:27 +01:00
RocksDBGeoIndex.h Bug fix 3.3/rocksdb truncate (#4338) 2018-01-16 19:52:27 +01:00
RocksDBGeoIndexImpl.cpp improve rocksdb logging (#3613) 2017-11-11 19:35:27 +01:00
RocksDBGeoIndexImpl.h fix undefined behavior in RocksDB geo index (#3479) 2017-10-25 18:04:26 +02:00
RocksDBGeoIndexImplHelper.h
RocksDBHashIndex.cpp potential fix for issue #3581: Unexpected "rocksdb unique constraint violated" with unique hash index (#3596) 2017-11-07 10:42:41 +01:00
RocksDBHashIndex.h Feature/rocksdb hashsearch (#2713) 2017-07-05 10:18:52 +02:00
RocksDBIncrementalSync.cpp Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
RocksDBIncrementalSync.h Use uuid in initalsync to ensure proper collection mapping (#3972) 2017-12-13 14:29:21 +01:00
RocksDBIndex.cpp properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
RocksDBIndex.h Bug fix 3.3/rocksdb truncate (#4338) 2018-01-16 19:52:27 +01:00
RocksDBIndexFactory.cpp Bug fix/fixes 0211 (#3568) 2017-11-09 12:48:15 +01:00
RocksDBIndexFactory.h Feature/rocksdb hashsearch (#2713) 2017-07-05 10:18:52 +02:00
RocksDBIterators.cpp Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
RocksDBIterators.h Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
RocksDBKey.cpp Feature/unique vpack index lookup performance improvements with rocksdbkey optimizations (#3123) 2017-08-31 20:00:05 +02:00
RocksDBKey.h Feature/unique vpack index lookup performance improvements with rocksdbkey optimizations (#3123) 2017-08-31 20:00:05 +02:00
RocksDBKeyBounds.cpp Feature/unique vpack index lookup performance improvements (#3087) 2017-08-24 14:39:09 +02:00
RocksDBKeyBounds.h Feature/unique vpack index lookup performance improvements (#3087) 2017-08-24 14:39:09 +02:00
RocksDBLogValue.cpp fix missing events in RocksDB-based replication for transactions that… (#4276) 2018-01-15 22:44:54 +01:00
RocksDBLogValue.h fix missing events in RocksDB-based replication for transactions that… (#4276) 2018-01-15 22:44:54 +01:00
RocksDBMethods.cpp properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
RocksDBMethods.h potential fix for issue #3581: Unexpected "rocksdb unique constraint violated" with unique hash index (#3596) 2017-11-07 10:42:41 +01:00
RocksDBOptimizerRules.cpp Bug fix/fix issue 3011 (#3012) 2017-08-09 17:38:44 +02:00
RocksDBOptimizerRules.h Feature/reduce extraction to projection (#2792) 2017-07-14 08:40:29 +02:00
RocksDBPersistentIndex.h
RocksDBPrefixExtractor.h potential fix for issue #3581: Unexpected "rocksdb unique constraint violated" with unique hash index (#3596) 2017-11-07 10:42:41 +01:00
RocksDBPrimaryIndex.cpp properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
RocksDBPrimaryIndex.h Bug fix 3.3/rocksdb truncate (#4338) 2018-01-16 19:52:27 +01:00
RocksDBRecoveryFinalizer.cpp make the replication applier auto-start for the RocksDB engine if con… (#3647) 2017-11-15 12:02:37 +01:00
RocksDBRecoveryFinalizer.h make the replication applier auto-start for the RocksDB engine if con… (#3647) 2017-11-15 12:02:37 +01:00
RocksDBReplicationCommon.cpp forward port replication bugfixes from 3.2 (#4575) 2018-02-13 22:14:23 +01:00
RocksDBReplicationCommon.h forward port replication bugfixes from 3.2 (#4575) 2018-02-13 22:14:23 +01:00
RocksDBReplicationContext.cpp Refactor Authentication Layer (3.3) (#4588) 2018-02-28 13:24:18 +01:00
RocksDBReplicationContext.h replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00
RocksDBReplicationManager.cpp forward port replication bugfixes from 3.2 (#4575) 2018-02-13 22:14:23 +01:00
RocksDBReplicationManager.h replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00
RocksDBReplicationTailing.cpp Refactor Authentication Layer (3.3) (#4588) 2018-02-28 13:24:18 +01:00
RocksDBReplicationTailing.h Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
RocksDBRestExportHandler.cpp Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
RocksDBRestExportHandler.h Fixed RocksDB export API. 2017-05-23 10:16:53 -04:00
RocksDBRestHandlers.cpp
RocksDBRestHandlers.h
RocksDBRestReplicationHandler.cpp Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
RocksDBRestReplicationHandler.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
RocksDBRestWalHandler.cpp make truncate a bit less obstrusive (#3721) 2017-11-16 20:28:33 +01:00
RocksDBRestWalHandler.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
RocksDBSkiplistIndex.h
RocksDBThrottle.cpp add defensive coding and logging in response to a divide by zero. ColumnFamilyData::RecalculateWriteStallConditions() called SetBytePerSecond() with some value less than four. Could have been a race condition due to our SetThrottle() called without db mutex. No proof, just likely. (#3950) 2017-12-07 09:25:44 +01:00
RocksDBThrottle.h Fix issues due to throttle started with too small a flush (#3707) 2017-11-16 09:13:08 +01:00
RocksDBTransactionCollection.cpp properly convert the JS object to VPack for transactions (#4641) 2018-02-21 11:57:14 +01:00
RocksDBTransactionCollection.h Bug fix 3.3/rocksdb truncate (#4338) 2018-01-16 19:52:27 +01:00
RocksDBTransactionContextData.h Feature/rocksdb hashsearch (#2713) 2017-07-05 10:18:52 +02:00
RocksDBTransactionManager.h Feature/rocksdb hashsearch (#2713) 2017-07-05 10:18:52 +02:00
RocksDBTransactionState.cpp properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
RocksDBTransactionState.h Bug fix 3.3/rocksdb truncate (#4338) 2018-01-16 19:52:27 +01:00
RocksDBTypes.cpp fix missing events in RocksDB-based replication for transactions that… (#4276) 2018-01-15 22:44:54 +01:00
RocksDBTypes.h fix missing events in RocksDB-based replication for transactions that… (#4276) 2018-01-15 22:44:54 +01:00
RocksDBV8Functions.cpp Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
RocksDBV8Functions.h Feature/rocksdb hashsearch (#2713) 2017-07-05 10:18:52 +02:00
RocksDBVPackIndex.cpp removed invalid assertion 2018-02-22 11:01:13 +01:00
RocksDBVPackIndex.h Bug fix 3.3/rocksdb truncate (#4338) 2018-01-16 19:52:27 +01:00
RocksDBValue.cpp Optimizations for Caches and Graph Traversals (#3169) 2017-08-31 18:33:10 +02:00
RocksDBValue.h Optimizations for Caches and Graph Traversals (#3169) 2017-08-31 18:33:10 +02:00
RocksDBView.cpp properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
RocksDBView.h
RocksDBWalAccess.cpp Refactor Authentication Layer (3.3) (#4588) 2018-02-28 13:24:18 +01:00
RocksDBWalAccess.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00