Skip to content

rkickier-ops/User-Management-Program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

User-Management-Program

School Project to develop basic user creation and management

Ryan Farragher CIS 153-L8 11/19/2025

This program is a scaled down user management system, it allows new users to be created, current users to update their password and to view the current log. After each user-related action, a line is written to the log. Using two text files the program takes a user_data text file and compiles a dictionary to be used while the program is running and then overwrites the file with the most current version of the dictionary when the program ends. The log file is opened in append mode, so all previous log data is saved and new data is only added on.

Requirements:

All functions work as intended on their own, and have worked so far with testing. Some functions are fragile and can be broken if the user decides to not follow directions. After multiple test runs I have not seen any more errors within the project scope.

Challenges:

  • Having a main() function made it hard to edit the dictionary of users, so I just removed it as a function and had the program run in the global space.

  • Some required functions felt unnatural to how I would have solved it, so I had a small bit of trouble going between what I wrote and the required function list to make sure I was following the directions correctly. It just took a bit of extra time to define some new functions that I didn't see on my initial read of the directions and move code around.

  • The way I had my user functions set up originally made it so if I created a new user and updated their password in the same instance it would not record to the dictionary even though it would write to the log as succssful and when tested separately they worked correctly. I fixed this by moving my quitting function outside the loop and making the user menu back out to the menu instead of quitting out entirely.

About

School Project to develop basic user creation and management

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages