SharkCagey / SharkCage

1 stars 3 forks source link

Check access rights of config files before opening them #85

Closed DonatJR closed 6 years ago

DonatJR commented 6 years ago

fixes #75

@bencikpeter Could you take a look at the CheckConfigAccessRights function in the CageService? You have the most experience with the Windows API in this regard https://github.com/SharkCagey/HTWG_shark_cage/pull/85/files#diff-c70ab997f5ee033d6f6d8bd7ca7264b8R243

SailReal commented 6 years ago

Oh and we have a conflict file "SharkCage/CageChooser/CageChooserForm.cs"

DonatJR commented 6 years ago

@SailReal

  1. that was my original plan, but then I wanted a nice refresh icon instead of just plain text which means doing it myself or finding a good looking icon with a suitable license - too much work for now 😅 the list also refreshes on restart so I don't think the button will be absolutely necessary
  2. I will constrain it to the current size. Getting all controls to size with the form is possible I think, but I don't know how to do it (yet) -> too much work ;)
  3. Great idea!
bencikpeter commented 6 years ago

@DonatJR Sorry for a late reply, I somehow overlooked that mention

I had a look at CheckConfigAccessRights And I have fer remarks

        so I´d assume it´s a better idea to use those?