1
0
Fork 0
Commit Graph

15 Commits

Author SHA1 Message Date
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
Heiko 7819c217ac Feature 3.3/swagger version upgrade 3.9.0 (#4307) 2018-01-16 09:08:36 +01:00
Alan Plum c4ed4d9df0
Make swagger docs secure again 2016-06-17 14:52:15 +02:00
Alan Plum ba2c489134
Stop swagger-ui from complaining about api key
[skip ci]
2016-06-17 14:51:38 +02:00
Alan Plum 2d44ff2839
Patch Swagger-UI to fix param.type undefined error
See https://github.com/swagger-api/swagger-ui/issues/2004
2016-04-19 18:39:22 +02:00
Alan Plum 28e094702e Restore swagger/index-alt.html
This is the alternative "inline" version of index.html. Please recreate by diffing against index.html when upgrading Swagger.
Please make sure Swagger is still working in Aardvark after upgrading Swagger.
2016-02-03 15:10:12 +01:00
Wilfried Goesgens 8afc46134b update to swagger V 2.1.4 2016-01-29 17:33:19 +01:00
Alan Plum 7538d71333 URL parameter -> {query,path} parameter 2015-11-24 18:09:43 +01:00
Wilfried Goesgens 7f89e6e905 Add hint to the user that starting swagger may take a while.
A throbber won't do, since swagger is synchroneous and the browser won't animate it.
2015-09-17 13:29:49 +02:00
Willi Goesgens a9ade74e87 Upgrade swagger. 2015-09-09 09:29:45 +02:00
Razvan Grigore d29ca08a09 Documentation should be expanded by default 2015-06-12 11:41:11 +02:00
Alan Plum 4d8863070d Don't ever use Swagger validator. See #1327. 2015-05-28 16:30:46 +02:00
Alan Plum 3977a42285 Replace Aardvark Foxx API docs generator with Swagger 2.0. 2015-05-07 14:28:58 +02:00
Alan Plum ed154f7ef2 Allow beforeFn to override appPath in swagger endpoints. 2015-05-07 13:54:41 +02:00
Alan Plum 45cfa12c91 Added Controller#apiDocumentation. 2015-05-07 01:30:14 +02:00