Daniel Vaz Gaspar
06c4610e8e
Bump FAB to 2.0.0 ( #7323 )
...
* Bump FAB to 2.0.0
* [tests] whitelist SecurityApi login and refresh endpoints
* [style] Fix, C812 missing trailing commas
* [security] Remove SUPERSET_UPDATE_PERMS flag
Registering sources needs to be performed after the views are
initialized on UPDATE_PERMS=False configuration
* [docs] New, FAB_UPDATE_PERMS and flask fab cli
* [docs] Fix, db upgrade needs to come first, create-admin needs a db
* [cli] New, superset init bootstraps all permissions for FAB and Superset
* [style] Fix, flakes
2019-04-30 09:01:18 -07:00
Maxime Beauchemin
36a219da7f
Allow Gamma and Alpha to access '/users/userinfo/' ( #6936 )
...
* Allow Gamma and Alpha to access '/users/userinfo/'
closes https://github.com/apache/incubator-superset/issues/4919
* Fix unit test
* Fix test
2019-04-22 11:23:54 -07:00
Maxime Beauchemin
9dfa80d5c8
Add all database access permission to 'Alpha' role ( #7271 )
...
* Add all database access permission to 'Alpha' role
* Grant all database access to Alpha
2019-04-15 09:22:54 -07:00
Maxime Beauchemin
1dd4d7a587
Apply ASF licenses throughout the code base ( #5800 )
...
* Add license headers
* reabased
* lint
* Removing licenses from vendors folder
2019-01-15 15:53:27 -08:00
Maxime Beauchemin
3f29a1dd70
Secure unsecured views and prevent regressions ( #6553 )
...
* Secure views and prevent regressions
* Force POST on shortner
* Fix tests
2018-12-18 11:57:13 -08:00
timifasubaa
46c86672c8
remove utf8 declaration ( #6096 )
2018-10-15 11:53:24 -07:00
timifasubaa
5c5be825d9
remove future imports ( #6050 )
2018-10-11 09:46:25 -07:00
Maxime Beauchemin
68ba63fcd9
Implement a React-based table editor ( #5186 )
...
* A React table editor
* addressing comments
* Fix SelectAsyncControl error on clear
* fix tests
* more corrections
* Removed <strong>
2018-08-06 15:30:13 -07:00
John Bodley
7f1d7543d0
[logs] Dropping dt column ( #4587 )
2018-04-10 18:34:32 -07:00
timifasubaa
8dd052de4b
[security] Refactor security code into SupersetSecurityManager ( #4565 )
...
* move access permissions methods to security manager
* consolidate all security methods into SupersetSecurityManager
* update security method calls
* update calls from tests
* move get_or_create_main_db to utils
* raise if supersetsecuritymanager is not extended
* rename sm to security_manager
2018-03-27 16:46:02 -07:00
John Bodley
d57a37e341
[flake8] Adding flake8-coding ( #4477 )
2018-02-25 15:06:11 -08:00
John Bodley
e112e4417c
[flake8] Adding future-import check ( #4476 )
2018-02-23 16:42:09 -08:00
timifasubaa
fa0aa33767
Disable user access request ( #4405 )
...
* add feature flag to config
* wrap check around a feature flag
* add flag to the model view
* remove access request from seurity tests
2018-02-14 14:49:22 -08:00
John Bodley
3a2974f589
[API] Deprecate /update_role/ API endpoint ( #4041 )
2017-12-10 21:14:15 -08:00
John Bodley
e822fb50d8
[flake8] Resolving W??? errors ( #3784 )
2017-11-07 20:25:10 -08:00
John Bodley
e2bca47421
[flake8] Resolve I??? errors ( #3797 )
2017-11-07 20:23:40 -08:00
Maxime Beauchemin
1590b8c7e5
Speeding up polling by not checking access ( #2466 )
...
* Speeding up polling by not checking access
* Fix tests
2017-03-23 22:46:25 -07:00
Bogdan
92aa1a6124
Permissions refactoring, optimizations and unit testing. ( #1798 )
...
* Refactor and speed up superset init
* Add unit tests.
* Test fixes.
* More test updates.
* Fix read only perms
* Address comments.
2016-12-15 08:38:34 -05:00