Skip to content

Commit 88abbc7

Browse files
committed
Merge pull request #355 from EverythingMe/feature/personal_home
Several small fixes
2 parents 6bb43d0 + 16f0413 commit 88abbc7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ def check_settings():
4646

4747

4848
if __name__ == '__main__':
49-
manager.run()
49+
manager.run()

rd_ui/app/scripts/controllers/controllers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
};
210210

211211
var PersonalIndexCtrl = function ($scope, Events, Dashboard, Query) {
212-
Events.record(currentUser, "view", "page", "homepage");
212+
Events.record(currentUser, "view", "page", "personal_homepage");
213213
$scope.$parent.pageTitle = "Home";
214214

215215
$scope.recentQueries = Query.recent();

rd_ui/app/views/dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h2 id="dashboard_title">
1414
</button>
1515
</span>
1616
</h2>
17-
<filters></filters>
17+
<filters ng-if="dashboard.dashboard_filters_enabled"></filters>
1818
</div>
1919

2020
<div class="container" id="dashboard">

setup/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ if [ $pg_user_exists -ne 0 ]; then
143143
REDASH_READER_PASSWORD=$(pwgen -1)
144144
sudo -u postgres psql -c "CREATE ROLE redash_reader WITH PASSWORD '$REDASH_READER_PASSWORD' NOCREATEROLE NOCREATEDB NOSUPERUSER LOGIN"
145145
sudo -u redash psql -c "grant select(id,name,type) ON data_sources to redash_reader;" redash
146-
sudo -u redash psql -c "grant select on events, queries, dashboards, widgets, visualizations, query_results to redash_reader;" redash
146+
sudo -u redash psql -c "grant select on activity_log, events, queries, dashboards, widgets, visualizations, query_results to redash_reader;" redash
147147

148148
cd /opt/redash/current
149149
sudo -u redash bin/run ./manage.py ds new "re:dash metadata" "pg" "user=redash_reader password=$REDASH_READER_PASSWORD host=localhost dbname=redash"

0 commit comments

Comments
 (0)