mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported
This commit is contained in:
parent
e3acc8af7a
commit
0ac940b3bf
64 changed files with 92 additions and 124 deletions
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$gradeexport_ods_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'gradeexport/ods:view' => array(
|
||||
'riskbitmask' => RISK_PERSONAL,
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$gradeexport_txt_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'gradeexport/txt:view' => array(
|
||||
'riskbitmask' => RISK_PERSONAL,
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$gradeexport_xls_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'gradeexport/xls:view' => array(
|
||||
'riskbitmask' => RISK_PERSONAL,
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$gradeexport_xml_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'gradeexport/xml:view' => array(
|
||||
'riskbitmask' => RISK_PERSONAL,
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$gradeimport_csv_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'gradeimport/csv:view' => array(
|
||||
'captype' => 'write',
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$gradeimport_xml_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'gradeimport/xml:view' => array(
|
||||
'captype' => 'write',
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$gradereport_grader_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'gradereport/grader:view' => array(
|
||||
'riskbitmask' => RISK_PERSONAL,
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$gradereport_outcomes_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'gradereport/outcomes:view' => array(
|
||||
'riskbitmask' => RISK_PERSONAL,
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$gradereport_overview_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'gradereport/overview:view' => array(
|
||||
'riskbitmask' => RISK_PERSONAL,
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$gradereport_user_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'gradereport/user:view' => array(
|
||||
'riskbitmask' => RISK_PERSONAL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue