Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-14853

Grant does not work correctly when table contains SYSTEM_INVISIBLE or COMPLETELY_INVISIBLE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.3
    • Fix Version/s: 10.3.7
    • Component/s: Server
    • Labels:
      None
    • Environment:
      all
    • Sprint:
      10.3.6-1

      Description

      Column level GRANT does not work correctly when table contains and SYSTEM_INVISIBLE or COMPLETELY_INVISIBLE column.
      Suppose a table t1 , which has a SYSTEM_INVISIBLE column and a normal column A. We give a grant to user_1 with this command

      grant insert(a) on t1 to user_1;
      

      when this particular user try insert

      insert into t1(a) values(1);
      

      or

      insert into t1 values(1);
      

      he will get access denied error.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sachin.setiya.007 Sachin Setiya
              Reporter:
              sachin.setiya.007 Sachin Setiya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: