A CLI UI for the StudSysCpp Project. This is a "dummy" project that is not used but done to practise C++ and also software engineering in terms of issues, issue tracking, issue refinement, requirements engineering, releases and also databases
GNU General Public License v3.0
0
stars
0
forks
source link
Constrain deletion of Announcements by lecturer that is the author of that announcement #66
A lecturer that created the announcement logs in and goes to the announcement page. They can then edit the announcement as the E/D command is available to them. If a lecturer who didn't create this announcement does this, the E/D command should not be visible
Actual Behaviour
The E/D command is available to every lecturer who can view the announcement regardless of if they created it. The check to see if they created it is done when they press E/D. But E/D shouldn't be available to them if they didn't create it
Expected Behaviour
A lecturer that created the announcement logs in and goes to the announcement page. They can then edit the announcement as the E/D command is available to them. If a lecturer who didn't create this announcement does this, the E/D command should not be visible
Actual Behaviour
The E/D command is available to every lecturer who can view the announcement regardless of if they created it. The check to see if they created it is done when they press E/D. But E/D shouldn't be available to them if they didn't create it