June 2017
Beginner to intermediate
368 pages
8h 31m
English
In Eclipse, create a new folder called /db. Our first issue is user permissions: which user has the capability to perform what actions? This is described in access.php:

The script access.php contains an array of uniquely named capabilities, and the risks associated with each capability--for example, the risk of spam or of a Cross-Site Scripting (XSS) attack. The complete list of capabilities from our new module can be seen on GitHub at https://www.github.com.
For example, we can specify who is allowed to add a comment:
$capabilities = array( 'mod/wavefront:addcomment' => array( 'riskbitmask' => RISK_SPAM, 'captype' => ...
Read now
Unlock full access