Skip to content

Commit

Permalink
Merge pull request #355 from EverythingMe/feature/personal_home
Browse files Browse the repository at this point in the history
Several small fixes
  • Loading branch information
arikfr committed Jan 20, 2015
2 parents 6bb43d0 + 16f0413 commit 88abbc7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ def check_settings():


if __name__ == '__main__':
manager.run()
manager.run()
2 changes: 1 addition & 1 deletion rd_ui/app/scripts/controllers/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
};

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

$scope.recentQueries = Query.recent();
Expand Down
2 changes: 1 addition & 1 deletion rd_ui/app/views/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2 id="dashboard_title">
</button>
</span>
</h2>
<filters></filters>
<filters ng-if="dashboard.dashboard_filters_enabled"></filters>
</div>

<div class="container" id="dashboard">
Expand Down
2 changes: 1 addition & 1 deletion setup/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ if [ $pg_user_exists -ne 0 ]; then
REDASH_READER_PASSWORD=$(pwgen -1)
sudo -u postgres psql -c "CREATE ROLE redash_reader WITH PASSWORD '$REDASH_READER_PASSWORD' NOCREATEROLE NOCREATEDB NOSUPERUSER LOGIN"
sudo -u redash psql -c "grant select(id,name,type) ON data_sources to redash_reader;" redash
sudo -u redash psql -c "grant select on events, queries, dashboards, widgets, visualizations, query_results to redash_reader;" redash
sudo -u redash psql -c "grant select on activity_log, events, queries, dashboards, widgets, visualizations, query_results to redash_reader;" redash

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

0 comments on commit 88abbc7

Please sign in to comment.