{"record":{"id":"d1371778ea53d518","repo":"risingwavelabs/risingwave","slug":"permission-denied-0","errorCode":null,"errorMessage":"Permission denied: {0}","messagePattern":"Permission denied: (.+?)","errorType":"error_code","errorClass":"ErrorCode","httpStatus":null,"severity":"error","filePath":"src/frontend/src/error.rs","lineNumber":184,"sourceCode":"    ValueEncodingError(\n        #[from]\n        #[backtrace]\n        ValueEncodingError,\n    ),\n    #[error(\"Invalid value `{config_value}` for `{config_entry}`\")]\n    InvalidConfigValue {\n        config_entry: String,\n        config_value: String,\n    },\n    #[error(\"Invalid parameter value: {0}\")]\n    InvalidParameterValue(String),\n    #[error(\"Sink error: {0}\")]\n    SinkError(\n        #[source]\n        #[backtrace]\n        BoxedError,\n    ),\n    #[error(\"Permission denied: {0}\")]\n    PermissionDenied(#[message] String),\n    #[error(\"Failed to get or set session config: {0}\")]\n    SessionConfig(\n        #[from]\n        #[backtrace]\n        SessionConfigError,\n    ),\n    #[error(\"Secret error: {0}\")]\n    SecretError(\n        #[from]\n        #[backtrace]\n        SecretError,\n    ),\n    #[error(\"{0} has been deprecated, please use {1} instead.\")]\n    Deprecated(String, String),\n    #[error(transparent)]\n    FeatureNotAvailable(\n        #[from]","sourceCodeStart":166,"sourceCodeEnd":202,"githubUrl":"https://github.com/risingwavelabs/risingwave/blob/6469eb736d691e8e9b8a419a57edd6429ca77417/src/frontend/src/error.rs#L166-L202","documentation":"FrontendError::PermissionDenied: the current user lacks the privilege required for the operation (e.g. accessing another user's object or performing an admin action). Raised by the authorization layer; the message names the denied resource or action.","triggerScenarios":"Thrown at src/frontend/src/error.rs:184 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Identify which user performed the action and which object was denied.","Grant the required privilege to the role (e.g., GRANT SELECT ON ... TO ...) or connect as a sufficiently privileged user.","Re-run the operation after privileges are updated."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6469eb736d691e8e9b8a419a57edd6429ca77417","analyzedAt":"2026-09-11T21:06:21.487Z","contentChangedAt":"2026-09-11T21:06:21.487Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}