schmunk42 / yii2-giiant

Yii 2 Framework Code Generator Gii on Steroids
271 stars 120 forks source link

How to create AccessFilter? #256

Closed thadudexx closed 5 years ago

thadudexx commented 5 years ago

as $generateAccessFilterMigration is hardcoded to false?

schmunk42 commented 5 years ago

Since it's a generator property you can set it via CLI, see https://github.com/schmunk42/yii2-giiant/blob/master/src/generators/crud/Generator.php#L97

thadudexx commented 5 years ago

after i added the property to the batchcontroller, or i am missing something? thank you for the quick response.

schmunk42 commented 5 years ago

That was added here: https://github.com/schmunk42/yii2-giiant/commit/1614d4e41f90876c8e40ecabc5c6d40657726711

Which version are you using?

thadudexx commented 5 years ago

sorry my fault overlooked that commit. I am using latest stable, 0.10.8, thats why its missing.

schmunk42 commented 5 years ago

So, you just need to upgrade to 0.11.0-beta2

thadudexx commented 5 years ago

yea thanks, would you recommend to upgrade to the beta version yet?

schmunk42 commented 5 years ago

There should be no issues. We've also updated the CHANGELOG (https://github.com/schmunk42/yii2-giiant/blob/master/CHANGELOG.md) - so please give it a try and give feedback.

thadudexx commented 5 years ago

Thank you for the info. I will give it a try.