<commit_before><?php
	$GLOBALS['cfg'] = array();

	# Things you may want to change in a hurry

	$GLOBALS['cfg']['site_name'] = 'Boundary Issues';
	$GLOBALS['cfg']['environment'] = 'dev';

	$GLOBALS['cfg']['site_disabled'] = 0;
	$GLOBALS['cfg']['site_disabled_retry_after'] = 0;	# seconds; if set will return HTTP Retry-After header

	# Message is displayed in the nav header in inc_head.txt

	$GLOBALS['cfg']['display_message'] = 0;
	$GLOBALS['cfg']['display_message_text'] = 'this is still a wet-paint prototype, suggestions and cluebats are welcome but please be gentle';

	# Things you'll certainly need to tweak
	# See below for details about database password(s)

	$GLOBALS['cfg']['db_main'] = array(
		'host'	=> 'localhost',
		'name'	=> 'boundaryissues',	# database name
		'user'	=> 'boundaryissues',	# database username
		'auto_connect' => 0,
	);

	$GLOBALS['cfg']['db_accounts'] = array(
		'host'	=> 'localhost',
		'name'	=> 'boundaryissues',		# database name
		'user'	=> 'boundaryissues',		# database username
		'auto_connect' => 0,
	);

	$GLOBALS['cfg']['db_users'] = array(

		'host' => array(
			1 => 'localhost',
			2 => 'localhost',
		),

		'user' => 'root',

		'name' => array(
			1 => 'user1',
			2 => 'user2',
		),
	);

	$GLOBALS['cfg']['aws']['s3_bucket'] = 'whosonfirst.mapzen.com';
	$GLOBALS['cfg']['aws']['access_key'] = 'READ-FROM-SECRETS';
	$GLOBALS['cfg']['aws']['access_secret'] = 'READ-FROM-SECRETS';

	# Configure user access by role and capability. If a user is a member of
	# a given role (as defined in the `users_roles` database table), then
	# checks for access will try to match the list of capabilities avail-
	# able to their roles.

	# The role is free-form text, they just get matched to what's in the
	# users_role in the DB. Capabilities are constrained to a set of known
	# values:
	#   * can_edit_all_repos
	#   * can_edit_[repo]

	# (20161212/dphiffer)

	$GLOBALS['cfg']['users_acl'] = array(
		/*

		'[role]' => array(
			'capability 1',
			'capability 2',
		),

		*/
		'admin' => array(
			'can_invite_users',
			'can_upload_pipelines',
			'can_view_pipelines',
			'can_view_offline_tasks',
			'can_github_oauth',
		),
		'staff' => array(
			'can_edit_all_repos',
			'can_upload_pipelines',
			'can_view_pipelines',
			'can_view_repos',
		),
		'users' => array(
			'can_edit_whosonfirst-data-venue-*',
		),
	);
<commit_msg>:key: add 'can_view_pipelines' for staff role<commit_after><?php
	$GLOBALS['cfg'] = array();

	# Things you may want to change in a hurry

	$GLOBALS['cfg']['site_name'] = 'Boundary Issues';
	$GLOBALS['cfg']['environment'] = 'dev';

	$GLOBALS['cfg']['site_disabled'] = 0;
	$GLOBALS['cfg']['site_disabled_retry_after'] = 0;	# seconds; if set will return HTTP Retry-After header

	# Message is displayed in the nav header in inc_head.txt

	$GLOBALS['cfg']['display_message'] = 0;
	$GLOBALS['cfg']['display_message_text'] = 'this is still a wet-paint prototype, suggestions and cluebats are welcome but please be gentle';

	# Things you'll certainly need to tweak
	# See below for details about database password(s)

	$GLOBALS['cfg']['db_main'] = array(
		'host'	=> 'localhost',
		'name'	=> 'boundaryissues',	# database name
		'user'	=> 'boundaryissues',	# database username
		'auto_connect' => 0,
	);

	$GLOBALS['cfg']['db_accounts'] = array(
		'host'	=> 'localhost',
		'name'	=> 'boundaryissues',		# database name
		'user'	=> 'boundaryissues',		# database username
		'auto_connect' => 0,
	);

	$GLOBALS['cfg']['db_users'] = array(

		'host' => array(
			1 => 'localhost',
			2 => 'localhost',
		),

		'user' => 'root',

		'name' => array(
			1 => 'user1',
			2 => 'user2',
		),
	);

	$GLOBALS['cfg']['aws']['s3_bucket'] = 'whosonfirst.mapzen.com';
	$GLOBALS['cfg']['aws']['access_key'] = 'READ-FROM-SECRETS';
	$GLOBALS['cfg']['aws']['access_secret'] = 'READ-FROM-SECRETS';

	# Configure user access by role and capability. If a user is a member of
	# a given role (as defined in the `users_roles` database table), then
	# checks for access will try to match the list of capabilities avail-
	# able to their roles.

	# The role is free-form text, they just get matched to what's in the
	# users_role in the DB. Capabilities are constrained to a set of known
	# values:
	#   * can_edit_all_repos
	#   * can_edit_[repo]

	# (20161212/dphiffer)

	$GLOBALS['cfg']['users_acl'] = array(
		/*

		'[role]' => array(
			'capability 1',
			'capability 2',
		),

		*/
		'admin' => array(
			'can_invite_users',
			'can_upload_pipelines',
			'can_view_pipelines',
			'can_view_offline_tasks',
			'can_view_repos',
			'can_github_oauth',
		),
		'staff' => array(
			'can_edit_all_repos',
			'can_upload_pipelines',
			'can_view_pipelines',
			'can_view_repos',
		),
		'users' => array(
			'can_edit_whosonfirst-data-venue-*',
		),
	);

{'fraction_non_alphanumeric': 0.1723417589304366, 'fraction_numerical': 0.009191560476289952, 'mean_word_length': 4.2615384615384615, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3063714', 'n_tokens_mistral': 1903, 'n_tokens_neox': 1694, 'n_words': 432}