# |
Sep 3rd 2019, 14:43 |
dereuromark |
jep, async for the win |
# |
Sep 3rd 2019, 14:43 |
jotpe |
most non devs will probably hit the "refresh" button :slightly_smiling_face: |
# |
Sep 3rd 2019, 14:43 |
alexdd55976 |
generating those e.g. json files should be triggered through cronjobs.. or changing parent files whatever. on login just loading the content into the user/auth object is fast. |
# |
Sep 3rd 2019, 14:41 |
admad |
devs can always change |
# |
Sep 3rd 2019, 14:41 |
admad |
i guess not really stupid, normal users would find them more useful |
# |
Sep 3rd 2019, 14:41 |
dereuromark |
hehe |
# |
Sep 3rd 2019, 14:41 |
admad |
although all these new laptops have those stupid media keys enabled by default for the function keys in bios |
# |
Sep 3rd 2019, 14:40 |
ricksaccous |
lolll |
# |
Sep 3rd 2019, 14:40 |
admad |
you are make it show a message after 5 min "We admire your patience by now it's time to hit F5" |
# |
Sep 3rd 2019, 14:39 |
ricksaccous |
I've heard of such a case |
# |
Sep 3rd 2019, 14:39 |
ricksaccous |
some people can wait hours for those spinners |
# |
Sep 3rd 2019, 14:38 |
admad |
@dereuromark show them a fancy loading spinner on submit :troll: |
# |
Sep 3rd 2019, 14:37 |
dereuromark |
Until then all cool |
# |
Sep 3rd 2019, 14:37 |
dereuromark |
I would say it matters if becomes seconds :slightly_smiling_face: As people tend to f5 then |
# |
Sep 3rd 2019, 14:37 |
dereuromark |
fair enough |
# |
Sep 3rd 2019, 14:34 |
alexdd55976 |
actually... during login.. speed does not matter... after login it should be in the Authentication to compare to called controller and action. should be super fast then |
# |
Sep 3rd 2019, 14:32 |
dereuromark |
Feel free to help out and make the PRs for the speaking methods. I am sure people will appreciate it. |
# |
Sep 3rd 2019, 14:32 |
dereuromark |
with the options part it cannot really |
# |
Sep 3rd 2019, 14:32 |
dereuromark |
the IDE helps you here anyway :slightly_smiling_face: |
# |
Sep 3rd 2019, 14:32 |
dereuromark |
I agree on this part. |
# |
Sep 3rd 2019, 14:28 |
jh |
like say patchEntity, save etc |
# |
Sep 3rd 2019, 14:27 |
jh |
<3 |
# |
Sep 3rd 2019, 14:27 |
jh |
but if a function is used a a lot, then configuration via options is sexy... saves a lot of time |
# |
Sep 3rd 2019, 14:27 |
jh |
@dereuromark in regards to that ticket and api surface... if a function is used not so often I prefer api surface as it is easy to find, easy to use, hard to break... aka 1000 different functions used 1 each time... better than 1 function with 1000 parameters |
# |
Sep 3rd 2019, 14:23 |
dereuromark |
but adding this per user on login could be slow ;) |
# |
Sep 3rd 2019, 14:22 |
dereuromark |
I thought I once added this to tinyauth as "init". to parse existing into a file for easier adjustment then |
# |
Sep 3rd 2019, 14:21 |
alexdd55976 |
i was thinking about creating json files with some controller/action trees and parse them during login |
# |
Sep 3rd 2019, 14:20 |
jotpe |
@alexdd55976 I'll let you know, if I have a asolution |
# |
Sep 3rd 2019, 14:18 |
alexdd55976 |
@jotpe if you have solution, pls let me know... i need to introduce authorization to the project soon... right now around 120 controllers. |
# |
Sep 3rd 2019, 14:15 |
alexdd55976 |
lucky bastard :) |
# |
Sep 3rd 2019, 14:13 |
jotpe |
I'll have a look! |
# |
Sep 3rd 2019, 14:12 |
jotpe |
yes, and I have ~30Controllers to manage |
# |
Sep 3rd 2019, 14:11 |
royalty |
but then you'd have to manage the mapping rather than using the built in mapping |
# |
Sep 3rd 2019, 14:10 |
royalty |
you can map multiple models/controllers to a single policy |
# |
Sep 3rd 2019, 14:10 |
jotpe |
A PolicyResolver with a "Default" Policy? |
# |
Sep 3rd 2019, 14:09 |
jotpe |
For the Authorization Plugin: I have a App with a backend and lots of BE Controllers/Actions. I don't want to write a Policy for every Entity/Table with the same rules. For now I created a BasePolicy and extend every Entity/Table Policy with the BasePolicy, which led to some class stubs. What would be a smarter approach to that? |
# |
Sep 3rd 2019, 14:06 |
dereuromark |
I have some follow ups :slightly_smiling_face: https://github.com/dereuromark/cakephp-ide-helper/issues/143 Small 1h chunks |
# |
Sep 3rd 2019, 14:04 |
jotpe |
@dereuromark whoops. Sorry, i wanted to contribute, but no time atm :S Thanks for your work! |
# |
Sep 3rd 2019, 13:45 |
javier.villanueva |
i try it |
# |
Sep 3rd 2019, 13:45 |
javier.villanueva |
thanks |
# |
Sep 3rd 2019, 13:44 |
javier.villanueva |
uhm ok |