Comments (8)
After we create the roles, can't we also create a new person/user and set it as admin?
from osem.
Sure we could but that would mean a standard user and a standard password, I would like to avoid this.
from osem.
Not sure what is better... Expect people to change the user/password from the seeds file or risk an unlikely yet possible situation that someone else, except for the intended person, creates the first user and gets the admin role?
from osem.
Assigning admin rights to the first user seems to be the standard with webapps these days. I think we should follow it.
from osem.
We can create a default user with email_id:[email protected] and password:admin and set the role as admin role=3 .Then we can specify this in the documentation to login with these credentials as admin.This would simplify the first admin setup, and there won't be any need to modify the role explicitly.
from osem.
@gopesht Have you read the previous comments?
from osem.
So to assign admin role with id 1.If that's the drill, then I can modify the pull request. I said this because I have used web apps that follow the procedure that I mentioned above.
from osem.
Fixed in 5ed51c7
from osem.
Related Issues (20)
- Your Ruby version is 3.1.4, but your Gemfile specified 3.1.3
- Depfu Error: Depfu is stuck and needs your help HOT 1
- Depfu Error: Depfu is stuck and needs your help HOT 1
- Depfu Error: Depfu is stuck and needs your help HOT 1
- Depfu Error: Depfu is stuck and needs your help HOT 1
- Depfu Error: Depfu is stuck and needs your help HOT 1
- All events at oSC23 are shown two hours later than they actually are in schedule.xml HOT 1
- Depfu Error: Depfu is stuck and needs your help HOT 1
- How do you check in/scan tickets? HOT 5
- Depfu Error: Depfu is stuck and needs your help HOT 1
- Front end error monitoring
- Error 500: Internal Server Error when adding this character to biography 🐘 HOT 2
- "Try a Demo"-Button on osem.io links to a non available page HOT 1
- iCalendar routes are unusable
- Troubles running OSEM behind Nginx Proxy Manager in port 80
- opt-in for a next-year CfP reminder HOT 1
- I cannot login into events.opensuse.org, so I cannot register for openSUSE conf 2024 nor submit talk proposals HOT 1
- error="failed to read current commit information with git rev-parse --is-inside-work-tree"
- Depfu Error: Depfu is stuck and needs your help HOT 1
- Depfu Error: Depfu is stuck and needs your help HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osem.