Class Wiki.​wiki_rights

class wiki_rights :  (object
<<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_create_wiki"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_create_wiki>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|unit <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_admin_wiki"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_admin_wiki>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_delete_wiki"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_delete_wiki>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_edit_metadata"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_edit_metadata>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_set_wiki_permissions"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_set_wiki_permissions>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_admin_wikibox"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_admin_wikibox>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Wiki_types.wikibox" | type Wiki_types.wikibox >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_write_wikibox"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_write_wikibox>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Wiki_types.wikibox" | type Wiki_types.wikibox >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_read_wikibox"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_read_wikibox>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Wiki_types.wikibox" | type Wiki_types.wikibox >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_view_static_files"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_view_static_files>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_upload_files"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_upload_files>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_create_wikipages"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_create_wikipages>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_create_subwikiboxes"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_create_subwikiboxes>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_create_wikiboxes"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_create_wikiboxes>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_delete_wikiboxes"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_delete_wikiboxes>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_create_wikicss"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_create_wikicss>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_create_wikipagecss"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_create_wikipagecss>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Wiki_types.wikipage" | type Wiki_types.wikipage >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_set_wikibox_specific_permissions"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_set_wikibox_specific_permissions>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wikibox" | type Wiki_types.wikibox >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_view_oldversions"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_view_oldversions>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Wiki_types.wikibox" | type Wiki_types.wikibox >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_view_history"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_view_history>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Wiki_types.wikibox" | type Wiki_types.wikibox >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_view_oldversions_src"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_view_oldversions_src>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Wiki_types.wikibox" | type Wiki_types.wikibox >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_view_src"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_view_src>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Wiki_types.wikibox" | type Wiki_types.wikibox >> <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>><<pre class="ocsforge_color odocwiki_code"|    <<span id="METHODcan_admin_wikipage"|<<span class="ocsforge_color_keyword"|method>> <<span class="odocwiki_name"|can_admin_wikipage>>>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\    <<a_api text="Wiki_types.wiki_arg" | type Wiki_types.wiki_arg >> <<a_api text="Opaque.int32_t" | type Opaque.int32_t >> * string <<span class="ocsforge_color_delimiter"| -> >> bool <<span class="ocsforge_color_uid"|Lwt>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|t>>>>>>end:object ... end)

method can_create_wiki : unit -> bool Lwt.t
method can_admin_wiki : Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_delete_wiki : Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_edit_metadata : 
Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_set_wiki_permissions : 
Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_admin_wikibox : Wiki_types.wikibox -> bool Lwt.t
method can_write_wikibox : Wiki_types.wikibox -> bool Lwt.t
method can_read_wikibox : Wiki_types.wikibox -> bool Lwt.t
method can_view_static_files : 
Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_upload_files : Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_create_wikipages : 
Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_create_subwikiboxes : 
Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_create_wikiboxes : 
Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_delete_wikiboxes : 
Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_create_wikicss : 
Wiki_types.wiki_arg Opaque.int32_t -> bool Lwt.t
method can_create_wikipagecss : Wiki_types.wikipage -> bool Lwt.t
method can_set_wikibox_specific_permissions : 
Wiki_types.wikibox -> bool Lwt.t
method can_view_oldversions : Wiki_types.wikibox -> bool Lwt.t
method can_view_history : Wiki_types.wikibox -> bool Lwt.t
method can_view_oldversions_src : Wiki_types.wikibox -> bool Lwt.t
method can_view_src : Wiki_types.wikibox -> bool Lwt.t
method can_admin_wikipage : 
Wiki_types.wiki_arg Opaque.int32_t * string -> bool Lwt.t