framework/migrations
Toby Zerner f0df751465 Overhaul permissions
Get rid of Permissible - too complex and inefficient. Replace with:
- a “Locked” trait which works similarly but only evaluates logic on
hydrated models.
- a “VisibleScope” trait which also works similarly but only scopes
queries

This is all we need, Permissible is overkill. There is only one
instance where we have to duplicate some logic
(Discussion::scopeVisiblePosts and Post::allow(‘view’, …)) but it’s
barely anything.

Haven’t decoupled for now, we can definitely look at doing that later.

Permissions table seeder slightly updated.

Also did a bit of a query audit, there’s still a lot to be done but
it’s much better than it was. Some relatively low-hanging fruit
detailed in EloquentPostRepository.
2015-06-16 17:33:56 +09:30
..
2015_02_24_000000_create_access_tokens_table.php Improvements to change/forgot password 2015-05-27 16:25:44 +09:30
2015_02_24_000000_create_activity_table.php New user activity feed API. 2015-05-20 12:30:27 +09:30
2015_02_24_000000_create_config_table.php Fix migrations to comply with PSR-2 2015-05-19 01:22:09 +02:00
2015_02_24_000000_create_discussions_table.php Fix migrations to comply with PSR-2 2015-05-19 01:22:09 +02:00
2015_02_24_000000_create_email_tokens_table.php Improve email changing/confirmation stuff 2015-05-27 16:24:54 +09:30
2015_02_24_000000_create_groups_table.php Explicitly specify length for string columns. 2015-05-19 00:20:36 +02:00
2015_02_24_000000_create_notifications_table.php Simplify and improve notifications API. 2015-05-20 12:24:01 +09:30
2015_02_24_000000_create_password_tokens_table.php Improvements to change/forgot password 2015-05-27 16:25:44 +09:30
2015_02_24_000000_create_permissions_table.php Fix migrations to comply with PSR-2 2015-05-19 01:22:09 +02:00
2015_02_24_000000_create_posts_table.php Really rough fulltext driver implementation 2015-06-04 11:11:56 +09:30
2015_02_24_000000_create_users_discussions_table.php Overhaul permissions 2015-06-16 17:33:56 +09:30
2015_02_24_000000_create_users_groups_table.php Fix migrations to comply with PSR-2 2015-05-19 01:22:09 +02:00
2015_02_24_000000_create_users_table.php Lay the groundwork for translation & refactor asset compilation 2015-06-10 14:23:56 +09:30