Menu

#185 show edit links based on user permission

Needs_planning
out-of-date
nobody
Privileges (25)
5
2013-06-11
2002-05-21
No

Added a new function, PMA_isGrantValid($grant,
$table), which checks to see if the current user has
permissions to perform edit, update, etc. before
showing the appropriate link for Edit or Update on
the table browse and edit pages. Thus, if a user
does not have permission to Update, the update
link will not show when browsing data in a table.

Note: I have not tried to apply these changes to the
table properties page. Since this page is going
through some major changes (as of mid-May
2002), I will wait on this.

- jd

Discussion

  • Jay F. Davis

    Jay F. Davis - 2002-05-21

    function PMA_isGrantValid with instructions

     
  • Robin Johnson

    Robin Johnson - 2002-06-17

    Logged In: YES
    user_id=30201

    The changes to the table properties pages have been
    completed now, could you please see about updating your
    patch for possible inclusion and testing in the new release of
    phpMyAdmin ?

     
  • Robin Johnson

    Robin Johnson - 2002-06-21

    Logged In: YES
    user_id=30201

    Could you also convert this to a proper patch/diff file format for
    us to apply more easily, with the instructions in a seperate
    file?

    This will go in 2.3.1

     
  • Robin Johnson

    Robin Johnson - 2002-06-21
    • status: open --> open-later
     
  • ana

    ana - 2002-10-13

    Logged In: YES
    user_id=626831

    How to create patch/diff ?
    is there any tool that make it?

     
  • Robin Johnson

    Robin Johnson - 2002-10-13

    Logged In: YES
    user_id=30201

    the tool is 'diff' on UNIX.
    'diff' makes patches, that you apply with 'patch'.

     
  • ana

    ana - 2002-10-13

    Logged In: YES
    user_id=626831

    Is there any patch/diff for w2k?

     
  • Robin Johnson

    Robin Johnson - 2002-10-13

    Logged In: YES
    user_id=30201

    Just grab the Cygwin or MinGW editions of the GNU tools
    and the diff and patch are in there.

     
  • ana

    ana - 2002-10-13

    Logged In: YES
    user_id=626831

    ok
    I download Cygwin and MinGW but i dont know how to
    start?

    any help will be appreciated

     
  • Robin Johnson

    Robin Johnson - 2002-10-13

    Logged In: YES
    user_id=30201

    Basically, here is what you should do.
    check out a recent copy of the source tree from CVS.
    make two copies of the directory in the same base location
    eg:
    C:\htdocs\phpMyAdmin.old\ and C:\htdocs\phpMyAdmin.new\
    apply the changes to the phpMyAdmin.new\ directory, leaving
    the other one ALONE.
    then once you are sure the changes work,
    go to C:\htdocs and do:
    "diff -U 5 -rNw
    phpMyAdmin.old\ phpMyAdmin.new\ >C:\htdocs\PMA.patch"

    that will generate a file, 'PMA.patch' that you can then post
    up here for us.

     
  • Robin Johnson

    Robin Johnson - 2002-11-09
    • status: open-later --> open-out-of-date
     
  • Robin Johnson

    Robin Johnson - 2002-11-09

    Logged In: YES
    user_id=30201

    Has any progress been made on this?

     
  • Garvin Hicking

    Garvin Hicking - 2003-03-05
    • labels: --> Privileges
    • milestone: --> Needs_planning
     
  • Garvin Hicking

    Garvin Hicking - 2003-03-12
    • status: open-out-of-date --> closed-out-of-date
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-out-of-date --> out-of-date
     
MongoDB Logo MongoDB