mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-18 19:19:36 +02:00
Added auth middleware. Added access control to apps
This commit is contained in:
parent
d1c61bb393
commit
e3f167921c
16 changed files with 92 additions and 9 deletions
|
@ -29,7 +29,7 @@ const App = sequelize.define(
|
|||
isPublic: {
|
||||
type: DataTypes.INTEGER,
|
||||
allowNull: true,
|
||||
defaultValue: 0,
|
||||
defaultValue: 1,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@ const Bookmark = sequelize.define(
|
|||
isPublic: {
|
||||
type: DataTypes.INTEGER,
|
||||
allowNull: true,
|
||||
defaultValue: 0,
|
||||
defaultValue: 1,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ const Category = sequelize.define(
|
|||
isPublic: {
|
||||
type: DataTypes.INTEGER,
|
||||
allowNull: true,
|
||||
defaultValue: 0,
|
||||
defaultValue: 1,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue