focalboard/server/app
Jesús Espino a4ef8ec6bc
Permissions integration tests (#2697)
* Initial permissions review infrastructure

* Adding more tests cases

* Modifying a bit the tests approach and adding more tests

* Adding more tests

* Adding more tests for permissions

* Adding more tests

* Adding more permissions tests

* Adding more tests

* Adding more permission checks

* Adding more permissions tests

* Adding more permission tests

* Adding more tests

* Adding subscriptions tests

* Adding more permissions tests

* Adding tests for read tokens in the files

* Update APIs and fix unit tests

* Fix linter errors

* Auto-assign category id from the database (as expected because is serial/auto_increment integer field)

* Revert "Auto-assign category id from the database (as expected because is serial/auto_increment integer field)"

This reverts commit 5c98fd76a3.

* Fixing Category scheme in postgres and MySQL

* Removing restriction about the channel_id and add it to all the databases

* Moving everything to a new migration

* Fix bad merge (?)

* Update 000021_fix_categories.up.sql

Fix Postgres ALTER COLUMN syntax

* Update 000021_fix_categories.down.sql

Fix Postgres ALTER COLUMN syntax

* Update 000021_fix_categories.up.sql

Remove unnecessary, and unsupported MODIFY COLUMNs for SQLite.

* Update 000021_fix_categories.up.sql

Remove not null from categories.channel_id

* Update 000021_fix_categories.down.sql

Migrate down removing not null from categories.channel_id

* Update 000021_fix_categories.up.sql

Fix drop not null on categories.channel_id

* Update 000021_fix_categories.down.sql

Fix down migration of drop not null from categories.channel_id.

* Restore default notification level to debug

Co-authored-by: Chen-I Lim <chenilim@gmail.com>
Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2022-04-05 08:00:04 -07:00
..
app.go
app_test.go
auth.go
auth_test.go
blocks.go Permissions integration tests (#2697) 2022-04-05 08:00:04 -07:00
blocks_test.go Permissions integration tests (#2697) 2022-04-05 08:00:04 -07:00
boards.go fix broken Follow button 2022-03-31 19:15:46 -04:00
boards_and_blocks.go
category.go Permissions integration tests (#2697) 2022-04-05 08:00:04 -07:00
category_blocks.go
clientConfig.go
clientConfig_test.go
export.go
files.go
files_test.go
helper_test.go Generate templates archive at build time (#2577) 2022-03-30 18:10:11 -04:00
import.go fix archive import 2022-03-31 14:04:20 -04:00
import_test.go fix unit test 2022-03-31 14:45:41 -04:00
initialize.go Generate templates archive at build time (#2577) 2022-03-30 18:10:11 -04:00
onboarding.go Merge pull request #2687 from mattermost/private-onboarding-board 2022-04-04 15:11:16 -06:00
onboarding_test.go Merge branch 'main' into private-onboarding-board 2022-04-04 18:43:24 +03:00
sharing.go
sharing_test.go
subscriptions.go fix broken Follow button 2022-03-31 19:15:46 -04:00
teams.go
teams_test.go
templates.boardarchive
templates.go don't check team permission for GlobalTeamID 2022-04-01 13:42:30 -06:00
templates_test.go don't check team permission for GlobalTeamID 2022-04-01 13:42:30 -06:00
user.go