1
0
Fork 0
arangodb/js/server/modules/@arangodb/foxx
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
..
legacy Don't use global static variables as collection caches - this may cau… (#3150) 2017-08-28 15:04:05 +02:00
queues Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
router Add authorizedflag fixing cluster internal foxx requests 2017-05-17 18:14:11 +02:00
sessions JWT uses seconds 2017-02-14 19:20:41 +01:00
auth.js Reformat code 2016-06-30 16:57:17 +02:00
context.js Expose static req.reverse as module.context.reverse 2016-10-31 17:38:11 +01:00
graphql.js fixed variables parsing in GraphQL 2017-03-05 23:31:38 +01:00
index.js Reformat code 2016-06-30 16:57:17 +02:00
manager.js Fix Foxx API (#4616) 2018-02-20 10:10:51 +01:00
manifest.js Improve Foxx cluster resilience (#2479) 2017-05-16 17:41:29 +02:00
mocha.js Implement tap/xunit reporters in Foxx 2017-03-15 20:09:31 +01:00
oauth1.js Document OAuth1 2016-12-09 15:28:36 +01:00
oauth2.js Implement OAuth 1.0a 2016-12-06 18:30:11 +01:00
routing.js Fix issue 2684: Legacy service UI not working (#2685) 2017-06-28 12:09:15 +02:00
service.js Refactor Authentication Layer (3.3) (#4588) 2018-02-28 13:24:18 +01:00
swagger.js Fix Windows file path resolution 2016-11-22 14:02:01 +01:00
test-utils.js Reformat code 2016-06-30 16:57:17 +02:00
types.js Reformat code 2016-06-30 16:57:17 +02:00