Class: Forty::Privilege::Table

Inherits:
Base
  • Object
show all
Defined in:
lib/forty/privilege.rb

Overview

www.postgresql.org/docs/9.6/static/sql-grant.html

      r -- SELECT ("read")
      w -- UPDATE ("write")
      a -- INSERT ("append")
      d -- DELETE
      D -- TRUNCATE
      x -- REFERENCES
      t -- TRIGGER
      X -- EXECUTE
      U -- USAGE
      C -- CREATE
      c -- CONNECT
      T -- TEMPORARY
arwdDxt -- ALL PRIVILEGES (for tables, varies for other objects)
      * -- grant option for preceding privilege

  /yyyy -- role that granted this privilege

Constant Summary collapse

ALL =
'arwdDxt'
SELECT =
'r'
UPDATE =
'w'
INSERT =
'a'
DELETE =
'd'
TRUNCATE =
'D'
REFERENCES =
'x'
TRIGGER =
't'
EXECUTE =
'X'

Constants inherited from Base

Base::PRIVILEGES

Method Summary

Methods inherited from Base

get_privilege_name_by_acronym, parse_privileges_from_string