ramp_database.tools.frontend
.is_admin¶
-
ramp_database.tools.frontend.
is_admin
(session, event_name, user_name)¶ Whether or not a user is administrator or administrate an event.
- Parameters
- session
sqlalchemy.orm.Session
The session to directly perform the operation on the database.
- event_namestr
The event name.
- user_namestr
The user name.
- session