Advertisement
Guest User

Untitled

a guest
Jan 24th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. if (temp == "cr") {
  2. User::createUser();
  3. }
  4. else if (temp == "prcr") {
  5. User::printCurrentLoggedUser();
  6. }
  7. else if (temp == "li") {
  8. User::logIn();
  9. }
  10. else if (temp == "du") {
  11. cout << "Podaj nazwe uzytkownika do usuniecia\n";
  12. string wejscie;
  13. cin >> wejscie;
  14. User::deleteUser(wejscie);
  15. }
  16. else if (temp == "vul") {
  17. User::viewUserList();
  18. }
  19. else if (temp == "vsul") {
  20. User::viewStandardUserGroup();
  21. }
  22. else if (temp == "vaul") {
  23. User::viewAdminUserGroup();
  24. }
  25. else if (temp == "autsg") {
  26. cout << "Podaj uzytkownika do dodania\n";
  27. string wejscie;
  28. cin >> wejscie;
  29. User::addUserToStandardUserGroup(wejscie);
  30. }
  31. else if (temp == "autag") {
  32. cout << "Podaj uzytkownika do dodania\n";
  33. string wejscie;
  34. cin >> wejscie;
  35. User::addUserToAdminGroup(wejscie);
  36. }
  37. else if (temp == "val") {
  38. Acl::viewAclList();
  39. }
  40. else if (temp == "vfa") {
  41. cout << "Podaj nazwe pliku";
  42. string wejscie;
  43. cin >> wejscie;
  44. Acl::viewFileAcl(wejscie);
  45. }
  46. else if (temp == "sap") {
  47. cout << "Podaj nazwe pliku";
  48. string wejscie;
  49. cin >> wejscie;
  50. Acl::setAdditionalPermissions(wejscie);
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement