Skip to content

PLOSSYS 5 Configuration File


The configuration file for the PLOSSYS 5 server contains the key value pairs corresponding to the system tables in the Consul key value store. The file format is YAML.


Example - PLOSSYS 5 configuration file

# This is a sample configuration for PLOSSYS.
# Modify and call "plossys config import plossys.yml".

service:
  any:
    tag:
      any:
        LOG_LEVEL: info
  rest:
    tag:
      any:
        AUTH_TYPE: oidc
        ALLOWED_OIDC_CLIENTS: |
          {
            "seal-plossysadmin": {
              "roles": {
                "admin": {
                  "areas": {
                    "dashboard": {},  
                    "jobs": {},
                    "printers": {}
                  },
                  "set-all": {
                    "views": [ "ALL" ],
                    "permissions": [ "ALL" ]
                  }
                },
                "custom": {
                  "areas": {
                    "dashboard": {},  
                    "jobs": {
                      "set-all": {
                        "views": [
                          {
                            "struct": "orig.jobName",
                            "value": "Testjob@*",
                            "operator": "wildcard"
                          }
                        ],
                        "permissions": [ "tempfiles", "move", "pause", "cancel", "repeat", "resume", "delete" ]
                      }
                    },
                    "printers": {
                      "set-all": {
                        "views": [
                          {
                            "struct": "config.printer",
                            "value": "*",
                            "operator": "wildcard"
                          }
                        ],
                        "permissions": [ "pause", "redirect", "resume", "createTestJob", "delete" ]
                      }
                    }
                  }
                },
                "readonly": {
                  "areas": {
                    "dashboard": {},  
                    "jobs": {},
                    "printers": {}
                  },
                  "set-all": {
                    "views": [ "ALL" ],
                    "permissions": []
                  }
                }
              }
            },
            "seal-plossyscli": {
              "roles": {
                "admin": {
                  "areas": {
                    "jobs": {},
                    "printers": {}
                  },
                  "set-all": {
                    "views": [ "ALL" ],
                    "permissions": [ "ALL" ]
                  }
                },
                "custom": {
                  "areas": {
                    "jobs": {
                      "set-all": {
                        "views": [
                          {
                            "struct": "orig.jobName",
                            "value": "Testjob@*",
                            "operator": "wildcard"
                          }
                        ],
                        "permissions": [ "tempfiles", "move", "pause", "cancel", "repeat", "resume", "delete" ]
                      }
                    },
                    "printers": {
                      "set-all": {
                        "views": [
                          {
                            "struct": "config.printer",
                            "value": "*",
                            "operator": "wildcard"
                          }
                        ],
                        "permissions": [ "pause", "redirect", "resume", "createTestJob", "delete" ]
                      }
                    }
                  }
                },
                "readonly": {
                  "areas": {
                    "jobs": {},
                    "printers": {}
                  },
                  "set-all": {
                    "views": [ "ALL" ],
                    "permissions": []
                  }
                }
              }
            },
            "seal-mobile-print": {
              "roles": {
                "custom": {
                  "areas": {
                    "jobs": {
                      "set-all": {
                        "views": [
                          {
                            "struct": "orig.jobName",
                            "value": "Testjob@*",
                            "operator": "wildcard"
                          }
                        ],
                        "permissions": [ "tempfiles", "move", "pause", "cancel", "repeat", "resume", "delete" ]
                      }
                    },
                    "printers": {
                      "set-all": {
                        "views": [
                          {
                            "struct": "config.printer",
                            "value": "*",
                            "operator": "wildcard"
                          }
                        ],
                        "permissions": [ "pause", "redirect", "resume", "createTestJob", "delete" ]
                      }
                    }
                  }
                }
              }
            },
            "seal-easyprima": {
              "roles": {
                "admin": {
                  "areas": {
                    "jobs": {},
                    "printers": {}
                  },
                  "set-all": {
                    "views": [ "ALL" ],
                    "permissions": [ "ALL" ]
                  }
                }
              }
            }
          }

Back to top