Skip to content

Commit

Permalink
add CAN_MANAGE_OWN_PORTFOLIOS to ROLE_CONTROLLER_MULTI and show portf…
Browse files Browse the repository at this point in the history
…olio if user has ROLE_CONTROLLER_MULTI
  • Loading branch information
Baptiste Larvol Simon committed Aug 26, 2020
1 parent 3448285 commit 884f6ab
Show file tree
Hide file tree
Showing 92 changed files with 5,349 additions and 2,520 deletions.
4 changes: 4 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# define your env variables for the test env here
KERNEL_CLASS='App\Kernel'
APP_SECRET='$ecretf0rt3st'
SYMFONY_DEPRECATIONS_HELPER=999999
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ tests/_output/*
!tests/_output/.gitkeep
tests/_support/_generated/*
!tests/_support/_generated/.gitkeep
###< codeception/codeception ###
###< codeception/codeception ###

.idea
.DS_Store
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ cd pialab-back

**Note:**

Symfony cli is required to start server.

The informations about the database connection and the SMTP server are stored as environment variables called DATABASE_URL and MAILER_URL respectively. For development, you can find and customize them inside .env.

```bash
Expand All @@ -21,7 +23,7 @@ composer install
bin/console doctrine:database:create
bin/console doctrine:migrations:migrate --no-interaction

bin/console server:start
symfony server:start
```

## User creation
Expand Down
1 change: 1 addition & 0 deletions bin/sql-formatter
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
{
"type": "project",
"license": "AGPL-3.0-only",
"name": "pialab/pialab",
"description": "Pialab",
"require": {
"php": "^7.1.3",
"doctrine/dbal": "^2.8",
"ext-iconv": "*",
"ext-pdo_pgsql": "*",
"babdev/pagerfanta-bundle": "^2.4",
"friendsofsymfony/oauth-server-bundle": "^1.6",
"friendsofsymfony/rest-bundle": "^2.3",
"friendsofsymfony/user-bundle": "^2.1",
"jms/serializer-bundle": "^2.3",
"nelmio/api-doc-bundle": "^3.2",
"nelmio/cors-bundle": "^1.5",
"sensio/framework-extra-bundle": "^5.1",
"sensio/framework-extra-bundle": "5.*",
"splitbrain/php-archive": "^1.1",
"stof/doctrine-extensions-bundle": "^1.3",
"symfony/asset": "^4.0",
"symfony/console": "^4.0",
"symfony/debug-pack": "^1.0",
"symfony/dotenv": "^4.0",
"symfony/expression-language": "^4.0",
"symfony/flex": "^1.0",
"symfony/flex": "^1.5",
"symfony/form": "^4.0",
"symfony/framework-bundle": "^4.0",
"symfony/orm-pack": "^1.0",
"symfony/swiftmailer-bundle": "^3.2",
"symfony/templating": "^4.0",
"symfony/translation": "^4.0",
"symfony/twig-bundle": "^4.0",
"symfony/yaml": "^4.0",
Expand All @@ -35,11 +36,9 @@
},
"require-dev": {
"codeception/codeception": "2.4.0",
"flow/jsonpath": "^0.4.0",
"guzzlehttp/guzzle": "^6.3",
"symfony/phpunit-bridge": "^4.0",
"symfony/profiler-pack": "^1.0",
"symfony/web-server-bundle": "^4.0"
"symfony/profiler-pack": "^1.0"
},
"config": {
"preferred-install": {
Expand Down Expand Up @@ -89,7 +88,7 @@
"symfony": {
"id": "01CBVH6DSB6PX6WNB0YVQ2KDQR",
"allow-contrib": false,
"require": "~4.1.0"
"require": "4.4.*"
}
},
"version": "1.4.18"
Expand Down
Loading

0 comments on commit 884f6ab

Please sign in to comment.