      def as_json(options = {})
        hash = super

        hash["secret"] = plaintext_secret if hash.key?("secret")
        hash
      end
The software does not perform an authorization check when an actor attempts to access a resource or perform an action.