aurweb/aurweb/models
Kevin Morris c006386079
add User.is_elevated()
This one returns true if the user is either a Trusted User
or a Developer.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-09-19 12:44:18 -07:00
..
__init__.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
accepted_term.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
account_type.py models.account_type: remove duplicated constants 2021-08-25 17:08:19 -07:00
api_rate_limit.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
ban.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
declarative.py add Base.as_dict() and Base.json() 2021-06-13 10:48:31 -07:00
dependency_type.py implement /packages/{name} as its own route 2021-07-27 20:48:40 -07:00
group.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
license.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
official_provider.py implement /packages/{name} as its own route 2021-07-27 20:48:40 -07:00
package.py PackageBase.package -> PackageBase.packages 2021-06-28 08:31:13 -07:00
package_base.py PackageBase: automatically cast Popularity to float 2021-07-20 12:46:19 -07:00
package_blacklist.py add PackageBlacklist SQLAlchemy ORM model 2021-06-11 17:28:08 -07:00
package_comaintainer.py add PackageComaintainer SQLAlchemy ORM model 2021-06-11 16:52:45 -07:00
package_comment.py PackageComment: default RenderedComment to str() 2021-07-20 12:47:08 -07:00
package_dependency.py routers.packages: Simplify some existence checks 2021-08-09 23:42:54 -07:00
package_group.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
package_keyword.py bugfix: PackageKeyword should have two PKs 2021-06-28 12:44:55 -07:00
package_license.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
package_notification.py add PackageNotification SQLAlchemy ORM model 2021-06-11 17:14:28 -07:00
package_relation.py PackageRelation: fix primary key relationships 2021-07-20 12:46:59 -07:00
package_request.py PackageRequest: add status_display() 2021-08-17 21:59:08 -07:00
package_source.py add PackageSource SQLAlchemy ORM model 2021-06-10 17:46:29 -07:00
package_vote.py add PackageVote SQLAlchemy ORM model 2021-06-10 13:55:07 -07:00
relation_type.py implement /packages/{name} as its own route 2021-07-27 20:48:40 -07:00
request_type.py RequestType: add name_display() and record constants 2021-08-17 21:59:10 -07:00
session.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
ssh_pub_key.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
term.py use declarative_base for all ORM models 2021-06-10 13:54:27 -07:00
tu_vote.py add TUVote SQLAlchemy ORM model 2021-06-11 22:14:38 -07:00
tu_voteinfo.py add TUVoteInfo.total_votes() 2021-06-26 01:11:52 -07:00
user.py add User.is_elevated() 2021-09-19 12:44:18 -07:00