Source: site.view [edit]
Function name: permissions
Arguments:
Description: Display modules for which you have read and write permission.
Page type: webl
Render function:   permissionsRender
Module: site

Page source:

var readable = Wub_ReadableModules(false);
var readableQualified = Wub_ReadableModules(true);
var writable= Wub_WritableModules();

[. readable = readable,
   readableQualified = readableQualified,
   writable = writable
.];