Atualizar app/models.py
This commit is contained in:
+10
-3
@@ -61,13 +61,20 @@ class User(Base):
|
|||||||
# Billing
|
# Billing
|
||||||
plan_id = Column(String, ForeignKey("plans.id"), default="free")
|
plan_id = Column(String, ForeignKey("plans.id"), default="free")
|
||||||
|
|
||||||
# Capabilities
|
# priority layer
|
||||||
|
priority = Column(String, default="user")
|
||||||
|
# values: system_admin, corp_admin, user
|
||||||
|
|
||||||
|
# ACL Default False
|
||||||
can_use_audio = Column(Boolean, default=False)
|
can_use_audio = Column(Boolean, default=False)
|
||||||
can_use_vision = Column(Boolean, default=False)
|
can_use_vision = Column(Boolean, default=False)
|
||||||
|
can_export_pdf = Column(Boolean, default=False)
|
||||||
|
|
||||||
|
# ACL Default True
|
||||||
can_share = Column(Boolean, default=True)
|
can_share = Column(Boolean, default=True)
|
||||||
can_import_docs = Column(Boolean, default=True)
|
|
||||||
can_export_pdf = Column(Boolean, default=True)
|
|
||||||
can_export_md = Column(Boolean, default=True)
|
can_export_md = Column(Boolean, default=True)
|
||||||
|
can_import_docs = Column(Boolean, default=True)
|
||||||
|
can_import_excel = Column(Boolean, default=True)
|
||||||
|
|
||||||
|
|
||||||
class Cache(Base):
|
class Cache(Base):
|
||||||
|
|||||||
Reference in New Issue
Block a user