Exemple #1
0
 class Meta:
     default_permissions = ()
     permissions = (
         (RIGHTS.compose_access, RIGHTS.get_description(RIGHTS.compose_access)),
         (RIGHTS.compose_save_template, RIGHTS.get_description(RIGHTS.compose_save_template)),
         (RIGHTS.compose_save_type, RIGHTS.get_description(RIGHTS.compose_save_type)),
     )
Exemple #2
0
 class Meta:
     default_permissions = ()
     permissions = (
         (RIGHTS.explore_access, RIGHTS.get_description(RIGHTS.explore_access)),
         (RIGHTS.explore_save_query, RIGHTS.get_description(RIGHTS.explore_save_query)),
         (RIGHTS.explore_delete_query, RIGHTS.get_description(RIGHTS.explore_delete_query)),
     )
Exemple #3
0
 class Meta:
     default_permissions = ()
     permissions = (
         (RIGHTS.curate_access, RIGHTS.get_description(RIGHTS.curate_access)),
         (RIGHTS.curate_view_data_save_repo, RIGHTS.get_description(RIGHTS.curate_view_data_save_repo)),
         (RIGHTS.curate_edit_document, RIGHTS.get_description(RIGHTS.curate_edit_document)),
         (RIGHTS.curate_delete_document, RIGHTS.get_description(RIGHTS.curate_delete_document)),
     )
Exemple #4
0
 class Meta:
     default_permissions = ()
     permissions = ((RIGHTS.api_access,
                     RIGHTS.get_description(RIGHTS.api_access)), )