mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[security] improving the security scheme (#1587)
* [security] improving the security scheme * Addressing comments * improving docs * Creating security module to organize things * Moving CLI to its own module * perms * Materializung perms * progrss * Addressing comments, linting
This commit is contained in:
committed by
GitHub
parent
aad9744d85
commit
bce02e3f51
@@ -158,7 +158,7 @@ export function setNetworkStatus(networkOn) {
|
||||
export function addAlert(alert) {
|
||||
const o = Object.assign({}, alert);
|
||||
o.id = shortid.generate();
|
||||
return { type: ADD_ALERT, o };
|
||||
return { type: ADD_ALERT, alert: o };
|
||||
}
|
||||
|
||||
export function removeAlert(alert) {
|
||||
|
||||
Reference in New Issue
Block a user