285
resources/defaults/channels/anime-channels.json
Executable file
285
resources/defaults/channels/anime-channels.json
Executable file
@@ -0,0 +1,285 @@
|
||||
[
|
||||
{
|
||||
"name": "Homepage",
|
||||
"slug": "homepage",
|
||||
"public": true,
|
||||
"internal": true,
|
||||
"presetDescription": "Homepage for the site",
|
||||
"config": {
|
||||
"seoTitle": "Watch Anime Online | {{site_name}}",
|
||||
"seoDescription": "Watch anime online in high quality with English dubbed + subbed. Here you can watch online anime without paying, registering. Just come and enjoy your anime and use tons of great features...",
|
||||
"contentType": "manual",
|
||||
"contentOrder": "channelables.order:asc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "channel",
|
||||
"autoUpdateProvider": "local",
|
||||
"layout": "list",
|
||||
"restriction": null,
|
||||
"hideTitle": true,
|
||||
"lockSlug": true,
|
||||
"presetId": "animeHomepage"
|
||||
},
|
||||
"nestedChannels": [
|
||||
"trending-series",
|
||||
"supernatural",
|
||||
"trending-movies",
|
||||
"fantasy-worlds",
|
||||
"romance",
|
||||
"just-updated",
|
||||
"slice-of-life",
|
||||
"based-on-manga",
|
||||
"martial-arts",
|
||||
"top-rated",
|
||||
"school-life",
|
||||
"demons"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Trending movies",
|
||||
"slug": "trending-movies",
|
||||
"description": "Trending across the globe: anime movies taking the world by storm",
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports currently trending anime movies from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 210024,
|
||||
"autoUpdateMethod": "mostPopular",
|
||||
"presetId": "animeTrendingMovies"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "School life",
|
||||
"slug": "school-life",
|
||||
"description": "Lessons of friendship and love: heartwarming connections await",
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports anime with 'school-life' keyword from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"autoUpdateMethod": "mostPopular",
|
||||
"restrictionModelId": 190116,
|
||||
"tmdb_keywords": [210024],
|
||||
"presetId": "animeSchoolLife"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Supernatural",
|
||||
"slug": "supernatural",
|
||||
"description": "Summon the otherworld: extraordinary adventures await",
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports anime with 'supernatural' keyword from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 6152,
|
||||
"autoUpdateMethod": "discover",
|
||||
"tmdb_keywords": [210024],
|
||||
"presetId": "animeSupernatural"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Based on manga",
|
||||
"slug": "based-on-manga",
|
||||
"description": "From ink to life: experience the world of manga-inspired stories",
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports anime with 'based-on-manga' keyword from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 13141,
|
||||
"autoUpdateMethod": "discover",
|
||||
"tmdb_keywords": [210024],
|
||||
"presetId": "animeBasedOnManga"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Martial arts",
|
||||
"slug": "martial-arts",
|
||||
"description": "From discipline to honor - journey through realms of combat",
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports anime with 'martial-arts' keyword from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 779,
|
||||
"autoUpdateMethod": "discover",
|
||||
"tmdb_keywords": [210024],
|
||||
"presetId": "animeMartialArts"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Romance",
|
||||
"slug": "romance",
|
||||
"description": "chasing destiny, finding Love: an anime romance odyssey",
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports anime with 'romance' keyword from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 9840,
|
||||
"autoUpdateMethod": "discover",
|
||||
"tmdb_keywords": [210024],
|
||||
"presetId": "animeRomance"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fantasy worlds",
|
||||
"slug": "fantasy-worlds",
|
||||
"description": "Whispers of wonders: where fantasy worlds unfold",
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports anime with 'fantasy-worlds' keyword from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"autoUpdateMethod": "latestVideos",
|
||||
"restrictionModelId": 170362,
|
||||
"tmdb_keywords": [210024],
|
||||
"presetId": "animeFantasyWorlds"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Demons",
|
||||
"slug": "demons",
|
||||
"description": "Infernal intrigues: dive into the depths of demon lore",
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports anime with 'demons' keyword from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 15001,
|
||||
"autoUpdateMethod": "latestVideos",
|
||||
"tmdb_keywords": [210024],
|
||||
"presetId": "animeDemons"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Trending Series",
|
||||
"slug": "trending-series",
|
||||
"description": "Catch the unstoppable craze of trending anime series now",
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports currently trending anime series from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "slider",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"autoUpdateMethod": "mostPopular",
|
||||
"restrictionModelId": 210024,
|
||||
"hideTitle": true,
|
||||
"presetId": "animeTrendingSeries"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Just updated on MTDb",
|
||||
"slug": "just-updated",
|
||||
"description": null,
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Shows recently updated anime on the site",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "title",
|
||||
"autoUpdateProvider": "local",
|
||||
"layout": "grid",
|
||||
"restriction": null,
|
||||
"autoUpdateMethod": "latestVideos",
|
||||
"presetId": "animeJustUpdated"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Top rated on MTDb",
|
||||
"slug": "top-rated",
|
||||
"description": null,
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Shows top rated anime on the site",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 210024,
|
||||
"autoUpdateMethod": "topRated",
|
||||
"presetId": "animeTopRated"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Slice of life",
|
||||
"slug": "slice-of-life",
|
||||
"description": "Everyday adventures: embrace the charm of slice of life",
|
||||
"public": true,
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports anime with 'slice-of-life' keyword from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 9914,
|
||||
"autoUpdateMethod": "mostPopular",
|
||||
"tmdb_keywords": [210024],
|
||||
"presetId": "animeSliceOfLife"
|
||||
}
|
||||
}
|
||||
]
|
||||
160
resources/defaults/channels/database-channels.json
Executable file
160
resources/defaults/channels/database-channels.json
Executable file
@@ -0,0 +1,160 @@
|
||||
[
|
||||
{
|
||||
"slug": "homepage",
|
||||
"name": "Homepage",
|
||||
"presetDescription": "The homepage of the site.",
|
||||
"internal": true,
|
||||
"config": {
|
||||
"seoTitle": "{{site_name}} - Movies, TV and Celebrities",
|
||||
"seoDescription": "The Movie Database ({{site_name}}) is a popular database for movies, TV shows and celebrities.",
|
||||
"contentType": "manual",
|
||||
"contentOrder": "channelables.order:asc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "channel",
|
||||
"autoUpdateProvider": "local",
|
||||
"layout": "list",
|
||||
"nestedLayout": "list",
|
||||
"connectToGenreViaUrl": false,
|
||||
"hideTitle": true,
|
||||
"lockSlug": true,
|
||||
"presetId": "defaultHomepage"
|
||||
},
|
||||
"nestedChannels": [
|
||||
"trending-movies",
|
||||
"now-playing",
|
||||
"trending-tv",
|
||||
"releasing-soon",
|
||||
"latest-news",
|
||||
"airing-today",
|
||||
"top-rated-movies",
|
||||
"people"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "now-playing",
|
||||
"name": "Now playing",
|
||||
"description": "Movies that are currently playing in theaters.",
|
||||
"presetDescription": "Periodically imports movies that are currently playing in theaters from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "carousel",
|
||||
"autoUpdateMethod": "nowPlaying",
|
||||
"connectToGenreViaUrl": false,
|
||||
"presetId": "defaultNowPlayingMovies"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "trending-tv",
|
||||
"name": "Trending TV shows",
|
||||
"description": "Currently trending TV shows.",
|
||||
"presetDescription": "Periodically imports trending TV shows from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "carousel",
|
||||
"autoUpdateMethod": "mostPopular",
|
||||
"connectToGenreViaUrl": false,
|
||||
"tmdb_language": "en",
|
||||
"presetId": "defaultTrendingTv"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "releasing-soon",
|
||||
"name": "Releasing soon",
|
||||
"description": "Movies that will soon be playing in theaters",
|
||||
"presetDescription": "Periodically imports movies that will soon be playing in theaters from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "landscapeCarousel",
|
||||
"autoUpdateMethod": "upcoming",
|
||||
"connectToGenreViaUrl": false,
|
||||
"presetId": "defaultUpcomingMovies"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "trending-movies",
|
||||
"name": "Trending movies",
|
||||
"presetDescription": "Periodically imports trending movies from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "slider",
|
||||
"autoUpdateMethod": "mostPopular",
|
||||
"connectToGenreViaUrl": false,
|
||||
"hideTitle": true,
|
||||
"presetId": "defaultTrendingMovies"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "airing-today",
|
||||
"name": "Airing today",
|
||||
"presetDescription": "Periodically imports TV shows that are airing today from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "carousel",
|
||||
"autoUpdateMethod": "airingToday",
|
||||
"connectToGenreViaUrl": false,
|
||||
"presetId": "defaultAiringToday"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "top-rated-movies",
|
||||
"name": "Top rated movies",
|
||||
"presetDescription": "Periodically imports top rated movies from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "carousel",
|
||||
"autoUpdateMethod": "topRated",
|
||||
"connectToGenreViaUrl": false,
|
||||
"presetId": "defaultTopRatedMovies"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "latest-news",
|
||||
"name": "Latest news",
|
||||
"presetDescription": "Lists all news articles available in the database",
|
||||
"internal": true,
|
||||
"config": {
|
||||
"seoTitle": "Latest news - {{site_name}}",
|
||||
"seoDescription": "The Movie Database ({{site_name}}) is a popular database for movies, TV shows and celebrities.",
|
||||
"contentType": "listAll",
|
||||
"contentOrder": "created_at:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "newsArticle",
|
||||
"autoUpdateProvider": "local",
|
||||
"layout": "list",
|
||||
"nestedLayout": "landscapeCarousel",
|
||||
"connectToGenreViaUrl": false,
|
||||
"autoUpdateMethod": null,
|
||||
"presetId": "defaultNews"
|
||||
}
|
||||
}
|
||||
]
|
||||
160
resources/defaults/channels/default-channels.json
Executable file
160
resources/defaults/channels/default-channels.json
Executable file
@@ -0,0 +1,160 @@
|
||||
[
|
||||
{
|
||||
"slug": "homepage",
|
||||
"name": "Homepage",
|
||||
"presetDescription": "The homepage of the site.",
|
||||
"internal": true,
|
||||
"config": {
|
||||
"seoTitle": "{{site_name}} - Movies, TV and Celebrities",
|
||||
"seoDescription": "The Movie Database ({{site_name}}) is a popular database for movies, TV shows and celebrities.",
|
||||
"contentType": "manual",
|
||||
"contentOrder": "channelables.order:asc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "channel",
|
||||
"autoUpdateProvider": "local",
|
||||
"layout": "list",
|
||||
"nestedLayout": "list",
|
||||
"connectToGenreViaUrl": false,
|
||||
"hideTitle": true,
|
||||
"lockSlug": true,
|
||||
"presetId": "defaultHomepage"
|
||||
},
|
||||
"nestedChannels": [
|
||||
"trending-movies",
|
||||
"now-playing",
|
||||
"trending-tv",
|
||||
"releasing-soon",
|
||||
"latest-news",
|
||||
"airing-today",
|
||||
"top-rated-movies",
|
||||
"people"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "now-playing",
|
||||
"name": "Now playing",
|
||||
"description": "Movies that are currently playing in theaters.",
|
||||
"presetDescription": "Periodically imports movies that are currently playing in theaters from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "carousel",
|
||||
"autoUpdateMethod": "nowPlaying",
|
||||
"connectToGenreViaUrl": false,
|
||||
"presetId": "defaultNowPlayingMovies"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "trending-tv",
|
||||
"name": "Trending TV shows",
|
||||
"description": "Currently trending TV shows.",
|
||||
"presetDescription": "Periodically imports trending TV shows from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "carousel",
|
||||
"autoUpdateMethod": "mostPopular",
|
||||
"connectToGenreViaUrl": false,
|
||||
"tmdb_language": "en",
|
||||
"presetId": "defaultTrendingTv"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "releasing-soon",
|
||||
"name": "Releasing soon",
|
||||
"description": "Movies that will soon be playing in theaters",
|
||||
"presetDescription": "Periodically imports movies that will soon be playing in theaters from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "landscapeCarousel",
|
||||
"autoUpdateMethod": "upcoming",
|
||||
"connectToGenreViaUrl": false,
|
||||
"presetId": "defaultUpcomingMovies"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "trending-movies",
|
||||
"name": "Trending movies",
|
||||
"presetDescription": "Periodically imports trending movies from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "slider",
|
||||
"autoUpdateMethod": "mostPopular",
|
||||
"connectToGenreViaUrl": false,
|
||||
"hideTitle": true,
|
||||
"presetId": "defaultTrendingMovies"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "airing-today",
|
||||
"name": "Airing today",
|
||||
"presetDescription": "Periodically imports TV shows that are airing today from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "carousel",
|
||||
"autoUpdateMethod": "airingToday",
|
||||
"connectToGenreViaUrl": false,
|
||||
"presetId": "defaultAiringToday"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "top-rated-movies",
|
||||
"name": "Top rated movies",
|
||||
"presetDescription": "Periodically imports top rated movies from themoviedb",
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"nestedLayout": "carousel",
|
||||
"autoUpdateMethod": "topRated",
|
||||
"connectToGenreViaUrl": false,
|
||||
"presetId": "defaultTopRatedMovies"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "latest-news",
|
||||
"name": "Latest news",
|
||||
"presetDescription": "Lists all news articles available in the database",
|
||||
"internal": true,
|
||||
"config": {
|
||||
"seoTitle": "Latest news - {{site_name}}",
|
||||
"seoDescription": "The Movie Database ({{site_name}}) is a popular database for movies, TV shows and celebrities.",
|
||||
"contentType": "listAll",
|
||||
"contentOrder": "created_at:desc",
|
||||
"carouselWhenNested": true,
|
||||
"contentModel": "newsArticle",
|
||||
"autoUpdateProvider": "local",
|
||||
"layout": "list",
|
||||
"nestedLayout": "landscapeCarousel",
|
||||
"connectToGenreViaUrl": false,
|
||||
"autoUpdateMethod": null,
|
||||
"presetId": "defaultNews"
|
||||
}
|
||||
}
|
||||
]
|
||||
97
resources/defaults/channels/shared-channels.json
Executable file
97
resources/defaults/channels/shared-channels.json
Executable file
@@ -0,0 +1,97 @@
|
||||
[
|
||||
{
|
||||
"slug": "people",
|
||||
"name": "Trending Actors",
|
||||
"presetDescription": "Lists all people in the database, sorted by popularity",
|
||||
"internal": true,
|
||||
"config": {
|
||||
"seoTitle": "Popular People - {{site_name}}",
|
||||
"seoDescription": "The Movie Database ({{site_name}}) is a popular database for movies, TV shows and celebrities.",
|
||||
"contentType": "listAll",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "person",
|
||||
"layout": "list",
|
||||
"presetId": "listAllPeople"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "movies",
|
||||
"name": "Browse Movies",
|
||||
"presetDescription": "Lists all movies in the database, sorted by popularity",
|
||||
"internal": true,
|
||||
"config": {
|
||||
"seoTitle": "Browse - {{site_name}}",
|
||||
"seoDescription": "Browse movies and series based on {{site_name}}",
|
||||
"contentType": "listAll",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "movie",
|
||||
"layout": "grid",
|
||||
"presetId": "listAllMovies"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "series",
|
||||
"name": "Browse series",
|
||||
"internal": true,
|
||||
"presetDescription": "Lists all series in the database, sorted by popularity",
|
||||
"config": {
|
||||
"contentType": "listAll",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"layout": "grid",
|
||||
"presetId": "listAllSeries"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "genre",
|
||||
"name": "{{channel.restriction.display_name}} movies and series",
|
||||
"presetDescription": "Lists all movies and series of a particular genre",
|
||||
"internal": true,
|
||||
"config": {
|
||||
"contentType": "listAll",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "title",
|
||||
"layout": "grid",
|
||||
"connectToGenreViaUrl": true,
|
||||
"restriction": "genre",
|
||||
"restrictionModelId": "urlParam",
|
||||
"presetId": "listAllForGenre"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "keyword",
|
||||
"name": "Titles with “{{channel.restriction.display_name}}“ keyword",
|
||||
"presetDescription": "Lists all movies and series that have a particular keyword",
|
||||
"internal": true,
|
||||
"config": {
|
||||
"contentType": "listAll",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "title",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": "urlParam",
|
||||
"presetId": "listAllForKeyword"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "production-countries",
|
||||
"name": "Titles produced in {{channel.restriction.display_name}}",
|
||||
"presetDescription": "Lists all movies and series produced in a particular country",
|
||||
"internal": true,
|
||||
"config": {
|
||||
"contentType": "listAll",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "title",
|
||||
"layout": "grid",
|
||||
"restriction": "production_country",
|
||||
"restrictionModelId": "urlParam",
|
||||
"presetId": "listAllForCountry"
|
||||
}
|
||||
}
|
||||
]
|
||||
317
resources/defaults/channels/streaming-channels.json
Executable file
317
resources/defaults/channels/streaming-channels.json
Executable file
@@ -0,0 +1,317 @@
|
||||
[
|
||||
{
|
||||
"slug": "homepage",
|
||||
"name": "Homepage",
|
||||
"internal": true,
|
||||
"presetDescription": "The homepage of the site.",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"seoTitle": "Watch movies and TV shows online | {{site_name}}",
|
||||
"seoDescription": "Watch movies and TV shows online. Stream TV episodes and popular movies on your favorite devices. Start your free trial now. Cancel anytime.",
|
||||
"contentType": "manual",
|
||||
"contentOrder": "channelables.order:asc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "channel",
|
||||
"autoUpdateProvider": "local",
|
||||
"layout": "list",
|
||||
"restriction": null,
|
||||
"hideTitle": true,
|
||||
"lockSlug": true,
|
||||
"presetId": "streamingHomepage"
|
||||
},
|
||||
"nestedChannels": [
|
||||
"trending-movies",
|
||||
"kids-and-family-movies",
|
||||
"comedy-movies",
|
||||
"science-fiction-movies",
|
||||
"horror-movies",
|
||||
"documentaries",
|
||||
"crime-tv-shows",
|
||||
"music-movies",
|
||||
"supernatural-tv",
|
||||
"superhero-movies",
|
||||
"tv-shows-based-on-books",
|
||||
"disaster-movies"
|
||||
],
|
||||
"created_at": "2023-07-09T15:36:49.000000Z",
|
||||
"updated_at": "2023-07-16T12:06:34.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "trending-movies",
|
||||
"name": "Trending movies",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports currently trending movies from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "slider",
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": null,
|
||||
"autoUpdateMethod": "mostPopular",
|
||||
"hideTitle": true,
|
||||
"presetId": "streamingTrendingMovies"
|
||||
},
|
||||
"created_at": "2023-07-16T11:50:32.000000Z",
|
||||
"updated_at": "2023-07-16T11:52:11.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "kids-and-family-movies",
|
||||
"name": "Kids and family movies",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports movies with 'kids-and-family' genre from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "landscapeCarousel",
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "genre",
|
||||
"restrictionModelId": 10751,
|
||||
"autoUpdateMethod": "discover",
|
||||
"presetId": "streamingKidsAndFamilyMovies"
|
||||
},
|
||||
"created_at": "2023-07-16T11:24:08.000000Z",
|
||||
"updated_at": "2023-07-16T11:29:42.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "comedy-movies",
|
||||
"name": "Romantic comedy movies",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports movies with 'rom-com' genre from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 9799,
|
||||
"autoUpdateMethod": "discover",
|
||||
"presetId": "streamingRomanticComedyMovies"
|
||||
},
|
||||
"created_at": "2023-07-16T11:32:17.000000Z",
|
||||
"updated_at": "2023-07-16T11:36:45.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "science-fiction-movies",
|
||||
"name": "Science fiction movies",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports movies with 'sci-fi' genre from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "genre",
|
||||
"restrictionModelId": 878,
|
||||
"autoUpdateMethod": "discover",
|
||||
"presetId": "streamingScienceFictionMovies"
|
||||
},
|
||||
"created_at": "2023-07-16T11:38:15.000000Z",
|
||||
"updated_at": "2023-07-16T11:39:43.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "horror-movies",
|
||||
"name": "Horror movies",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports movies with 'horror' genre from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "genre",
|
||||
"restrictionModelId": 27,
|
||||
"autoUpdateMethod": "discover",
|
||||
"presetId": "streamingHorrorMovies"
|
||||
},
|
||||
"created_at": "2023-07-16T11:40:04.000000Z",
|
||||
"updated_at": "2023-07-16T11:40:11.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "documentaries",
|
||||
"name": "Documentaries",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports documentaries from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "rating:desc",
|
||||
"nestedLayout": "landscapeCarousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "genre",
|
||||
"restrictionModelId": 99,
|
||||
"autoUpdateMethod": "latestVideos",
|
||||
"presetId": "streamingDocumentaries"
|
||||
},
|
||||
"created_at": "2023-07-16T11:42:13.000000Z",
|
||||
"updated_at": "2023-07-16T11:53:38.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "crime-tv-shows",
|
||||
"name": "Crime TV shows",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports TV shows with 'crime' genre from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "genre",
|
||||
"restrictionModelId": 80,
|
||||
"autoUpdateMethod": "discover",
|
||||
"presetId": "streamingCrimeTvShows"
|
||||
},
|
||||
"created_at": "2023-07-16T11:47:36.000000Z",
|
||||
"updated_at": "2023-07-16T11:48:22.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "music-movies",
|
||||
"name": "Music movies",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports movies with 'music' genre from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "landscapeCarousel",
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "genre",
|
||||
"restrictionModelId": 10402,
|
||||
"autoUpdateMethod": "latestVideos",
|
||||
"presetId": "streamingMusicMovies"
|
||||
},
|
||||
"created_at": "2023-07-16T11:55:41.000000Z",
|
||||
"updated_at": "2023-07-16T12:06:34.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "supernatural-tv",
|
||||
"name": "Supernatural TV",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports TV shows with 'supernatural' genre from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 6152,
|
||||
"autoUpdateMethod": "discover",
|
||||
"presetId": "streamingSupernaturalTv"
|
||||
},
|
||||
"created_at": "2023-07-16T11:58:17.000000Z",
|
||||
"updated_at": "2023-07-16T11:58:37.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "superhero-movies",
|
||||
"name": "Superhero movies",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports movies with 'superhero' genre from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 9715,
|
||||
"autoUpdateMethod": "discover",
|
||||
"presetId": "streamingSuperheroMovies"
|
||||
},
|
||||
"created_at": "2023-07-16T12:00:05.000000Z",
|
||||
"updated_at": "2023-07-16T12:00:19.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "tv-shows-based-on-books",
|
||||
"name": "TV shows based on books",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports TV shows with 'based-on-book' keyword from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "series",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"autoUpdateMethod": "latestVideos",
|
||||
"restrictionModelId": 818,
|
||||
"presetId": "streamingTvShowsBasedOnBooks"
|
||||
},
|
||||
"created_at": "2023-07-16T12:02:07.000000Z",
|
||||
"updated_at": "2023-07-16T12:02:16.000000Z",
|
||||
"model_type": "channel"
|
||||
},
|
||||
{
|
||||
"slug": "disaster-movies",
|
||||
"name": "Disaster movies",
|
||||
"internal": false,
|
||||
"presetDescription": "Periodically imports movies with 'disaster' keyword from themoviedb",
|
||||
"type": "channel",
|
||||
"public": true,
|
||||
"config": {
|
||||
"contentType": "autoUpdate",
|
||||
"contentOrder": "popularity:desc",
|
||||
"nestedLayout": "carousel",
|
||||
"contentModel": "movie",
|
||||
"autoUpdateProvider": "tmdb",
|
||||
"layout": "grid",
|
||||
"restriction": "keyword",
|
||||
"restrictionModelId": 189411,
|
||||
"autoUpdateMethod": "discover",
|
||||
"presetId": "streamingDisasterMovies"
|
||||
},
|
||||
"created_at": "2023-07-16T12:05:02.000000Z",
|
||||
"updated_at": "2023-07-16T12:06:27.000000Z",
|
||||
"model_type": "channel"
|
||||
}
|
||||
]
|
||||
214
resources/defaults/permissions.php
Executable file
214
resources/defaults/permissions.php
Executable file
@@ -0,0 +1,214 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'roles' => [
|
||||
[
|
||||
'name' => 'users',
|
||||
'extends' => 'users',
|
||||
'default' => true,
|
||||
'permissions' => [
|
||||
'titles.view',
|
||||
'videos.view',
|
||||
'videos.rate',
|
||||
'videos.play',
|
||||
'people.view',
|
||||
'reviews.view',
|
||||
'reviews.create',
|
||||
'news.view',
|
||||
'lists.create',
|
||||
'lists.view',
|
||||
'plans.view',
|
||||
'comments.view',
|
||||
'comments.create',
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'guests',
|
||||
'guests' => true,
|
||||
'extends' => 'guests',
|
||||
'permissions' => [
|
||||
'titles.view',
|
||||
'videos.view',
|
||||
'videos.play',
|
||||
'people.view',
|
||||
'reviews.view',
|
||||
'news.view',
|
||||
'channels.view',
|
||||
'plans.view',
|
||||
'comments.view',
|
||||
],
|
||||
],
|
||||
],
|
||||
'all' => [
|
||||
'titles' => [
|
||||
[
|
||||
'name' => 'titles.view',
|
||||
'description' =>
|
||||
'Allow viewing movies, series and episodes on the site.',
|
||||
],
|
||||
[
|
||||
'name' => 'titles.create',
|
||||
'description' =>
|
||||
'Allow user to create new movies, series and episodes from admin area.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'titles.update',
|
||||
'description' => 'Allow user to update all titles on the site.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'titles.delete',
|
||||
'description' => 'Allow user to delete all titles on the site.',
|
||||
'advanced' => true,
|
||||
],
|
||||
],
|
||||
'comments' => [
|
||||
[
|
||||
'name' => 'comments.view',
|
||||
'description' => 'Allow viewing comments on the site.',
|
||||
],
|
||||
[
|
||||
'name' => 'comments.create',
|
||||
'description' => 'Allow creating new comments.',
|
||||
],
|
||||
[
|
||||
'name' => 'comments.update',
|
||||
'description' =>
|
||||
'Allow editing of all comments, whether user created that comment or not. User can edit their own comments without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'comments.delete',
|
||||
'description' =>
|
||||
'Allow deleting any comment, whether user created that comment or not. User can delete their own comments without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
],
|
||||
'reviews' => [
|
||||
[
|
||||
'name' => 'reviews.view',
|
||||
'description' =>
|
||||
'Allow user to view reviews left by other users.',
|
||||
],
|
||||
[
|
||||
'name' => 'reviews.create',
|
||||
'description' => 'Allow user to rate movies and series.',
|
||||
],
|
||||
[
|
||||
'name' => 'reviews.update',
|
||||
'description' =>
|
||||
'Allow editing of all reviews on the site, regardless of who created them. User can edit reviews they have created without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'reviews.delete',
|
||||
'description' =>
|
||||
'Allow deletion of all reviews on the site, regardless of who created them. User can delete reviews they have created without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
],
|
||||
'people' => [
|
||||
[
|
||||
'name' => 'people.view',
|
||||
'description' => 'Allow viewing actor pages on the site.',
|
||||
],
|
||||
[
|
||||
'name' => 'people.create',
|
||||
'description' =>
|
||||
'Allow user to create new actors from admin area.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'people.update',
|
||||
'description' => 'Allow user to update all actors on the site.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'people.delete',
|
||||
'description' => 'Allow user to delete all actors on the site.',
|
||||
'advanced' => true,
|
||||
],
|
||||
],
|
||||
'news' => [
|
||||
[
|
||||
'name' => 'news.view',
|
||||
'description' =>
|
||||
'Allow viewing of all news articles on the site, regardless of who created them. User can view articles they created without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'news.create',
|
||||
'description' => 'Allow users to create news articles.',
|
||||
],
|
||||
[
|
||||
'name' => 'news.update',
|
||||
'description' =>
|
||||
'Allow editing of all news articles on the site, regardless of who created them. User can edit articles they have created without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'news.delete',
|
||||
'description' =>
|
||||
'Allow deleting of all news on the site, regardless of who created them. User can delete articles they have created without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
],
|
||||
'videos' => [
|
||||
[
|
||||
'name' => 'videos.rate',
|
||||
'description' => 'Allow user to rate videos on the site.',
|
||||
],
|
||||
[
|
||||
'name' => 'videos.view',
|
||||
'description' =>
|
||||
'Allow user to view videos on the site. This will only show video thumbnail and title, but not allow video playback.',
|
||||
],
|
||||
[
|
||||
'name' => 'videos.play',
|
||||
'description' => 'Allow user to play videos on the site.',
|
||||
],
|
||||
[
|
||||
'name' => 'videos.create',
|
||||
'description' =>
|
||||
'Allow creating new videos from title/episode page or from admin area.',
|
||||
],
|
||||
[
|
||||
'name' => 'videos.update',
|
||||
'description' =>
|
||||
'Allow editing of all videos on the site, regardless of who created them. User can edit their own videos without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'videos.delete',
|
||||
'description' =>
|
||||
'Allow deleting of all videos on the site, regardless of who created them. User can delete their own videos without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
],
|
||||
'lists' => [
|
||||
[
|
||||
'name' => 'lists.view',
|
||||
'description' =>
|
||||
'Allow viewing of all lists on the site, regardless of who created them. User can view their own lists without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'lists.create',
|
||||
'description' => 'Allow users to create lists.',
|
||||
],
|
||||
[
|
||||
'name' => 'lists.update',
|
||||
'description' =>
|
||||
'Allow editing of all lists on the site, regardless of who created them. User can edit their own lists without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'lists.delete',
|
||||
'description' =>
|
||||
'Allow deleting of all lists on the site, regardless of who created them. User can delete their own lists without this permission.',
|
||||
'advanced' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user