Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A api
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • ironapi
  • api
  • Wiki
  • Api
  • Plugins

Last edited by Andrea Pavlovic Feb 02, 2022
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Plugins

Plugins

A project can define it's own plugins, these are universally available:

  • Logout
  • Changing-Passwords

Permissions

To give permission for usage of plugin to a certain agenda, the corresponding action for the plugin must be used and then registered for the agenda:

POST /data/system/agenda_action/create

  "agenda" : 5,
  "action" : 7,

To get the agenda id:

POST /data/system/agenda/query

{
  "conds" : {
    "name" : "admin_agenda"
  }
}

To get the action id:

POST /data/system/action/query

{
  "conds" : {
    "is_functional" : true,
    "entity.name" : "plugin_name",
    "me.name" : "execute"
  },
  "attrs" : 
}

SELECT action.id from system.action join system.entity on entity.id=entity and is_functional=true where action.name='execute' and entity.name='client_create'

Clone repository
  • API
    • Available Endpoints
    • Changing Passwords
    • Form Input Types
    • Introduction
    • Logout
    • Plugins
    • Queries
    • Queries
      • Attributes
      • Context
      • Query Examples
      • Query Search Options
      • Referenced Instances
      • Saved Queries
    • Schema_Changes
    • Storing Files
View All Pages