1. 27 Jan, 2015 2 commits
    • Leigh B Stoller's avatar
      Two co-mingled sets of changes: · 85cb063b
      Leigh B Stoller authored
      1) Implement the latest dataset read/write access settings from frontend to
         backend. Also updates for simultaneous read-only usage.
      
      2) New configure options: PROTOGENI_LOCALUSER and PROTOGENI_GENIWEBLOGIN.
      
         The first changes the way that projects and users are treated at the
         CM. When set, we create real accounts (marked as nonlocal) for users and
         also create real projects (also marked as nonlocal). Users are added to
         those projects according to their credentials. The underlying experiment
         is thus owned by the user and in the project, although all the work is
         still done by the geniuser pseudo user. The advantage of this approach
         is that we can use standard emulab access checks to control access to
         objects like datasets. Maybe images too at some point.
      
         NOTE: Users are not removed from projects once they are added; we are
         going to need to deal with this, perhaps by adding an expiration stamp
         to the groups_membership tables, and using the credential expiration to
         mark it.
      
         The second new configure option turns on the web login via the geni
         trusted signer. So, if I create a sliver on a backend cluster when both
         options are set, I can use the trusted signer to log into my newly
         created account on the cluster, and see it (via the emulab classic web
         interface).
      
         All this is in flux, might end up being a bogus approach in the end.
      85cb063b
    • Leigh B Stoller's avatar
      Add ssh key management to Actions menu, do not delete keys in · 7a07142a
      Leigh B Stoller authored
      create_instance, now that user can manage multiple keys.
      7a07142a
  2. 16 Jan, 2015 1 commit
  3. 03 Jan, 2015 1 commit
  4. 15 Dec, 2014 1 commit
  5. 04 Dec, 2014 1 commit
  6. 03 Dec, 2014 3 commits
  7. 12 Nov, 2014 1 commit
  8. 29 Oct, 2014 1 commit
  9. 28 Oct, 2014 1 commit
  10. 27 Oct, 2014 1 commit
  11. 25 Oct, 2014 1 commit
  12. 08 Oct, 2014 1 commit
  13. 24 Sep, 2014 2 commits
  14. 18 Sep, 2014 1 commit
  15. 15 Sep, 2014 1 commit
    • Leigh B Stoller's avatar
      Change to ssh key handling for registered APT/Cloud users; show the ssh key · 1822694e
      Leigh B Stoller authored
      box, but as a collapsible. Warn user if they do not have a key (provided on
      signup page) that they are restricted to browser shell. Whenever user
      provides a key, replace in the database (if its changed). This keeps the
      user out of the Emulab interface to edit their ssh keys. Might have to
      revisit this if APT/Cloud users need/want more then the one key.
      1822694e
  16. 09 Sep, 2014 1 commit
  17. 08 Sep, 2014 1 commit
  18. 03 Sep, 2014 1 commit
  19. 02 Sep, 2014 1 commit
  20. 27 Aug, 2014 1 commit
    • Leigh B Stoller's avatar
      Large set of changes for using the Geni trusted signer tool, to · 980f6cbd
      Leigh B Stoller authored
      authenticate Geni users to CloudLab (who do not have Emulab accounts).
      CloudLab users must have an account to do anything (unlike APT which allows
      guest users). But instead of requiring them to go through the Emulab
      account creation (high bar), let then use their Geni credentials to prove
      who they are. We then build a local account for that new user, and save off
      the speaksfor credential so that we can act on their behalf when talking to
      the backend clusters (and their MA to get their ssh keys).
      
      These users do not have a local account password, so they cannot log into
      the web interface using the Emulab login page, nor do they have a shell on
      ops.
      
      Once authenticated, we put the appropriate cookies into the browser via
      javascript, so they can use the Cloud (okay, APT) web interface (they
      appear logged in).
      
      I make use of the nonlocal_id field of the users table, which was not being
      used for anything else. Officially, these are "nonlocal" users in the code
      (IsNonLocal()).
      
      When a nonlocal user instantiates a profile, we use their speaksfor
      credential to ask their home MA for their ssh keys, which we then store in
      the DB, and then provide to the aggregate via the CreateSliver call.
      Note that no provision has been made for users who edit their profile and
      add keys; I am not currently expecting these users to stumble into the web
      interface (yet).
      980f6cbd
  21. 31 Jul, 2014 1 commit
  22. 28 Jul, 2014 2 commits
  23. 08 Jul, 2014 1 commit
  24. 17 Jun, 2014 1 commit
  25. 12 Jun, 2014 1 commit
    • Kirk Webb's avatar
      Update the use of realpath across all perl scripts · 3f167217
      Kirk Webb authored
      Change to use the realpath function in the 'Cwd' module instead of
      calling realpath via the shell.  The shell command varies in its
      reaction to a missing final path component.  On some platforms (Linux,
      FBSD10+) realpath reports an error if the final component doesn't exist
      on the filesystem.  On others (FBSD < 10), it does not report an error.
      
      The perl function from 'Cwd' emulates the same behavior as FBSD prior to
      version 10, which is the behavior the scripts expect.
      
      From here on out, instead of using `realpath`, do the following:
      
      use Cwd qw(realpath);
      ..
      ..
      my $realpath = realpath($somepath);
      3f167217
  26. 26 May, 2014 1 commit
  27. 19 May, 2014 1 commit
  28. 16 May, 2014 1 commit
  29. 15 May, 2014 1 commit
  30. 22 Apr, 2014 1 commit
  31. 09 Apr, 2014 1 commit
  32. 31 Mar, 2014 1 commit
  33. 26 Mar, 2014 1 commit
  34. 22 Mar, 2014 1 commit
  35. 14 Mar, 2014 1 commit