Portainer access control applies to what Portainer deploys. Containers you start from the command line show up as external, and they are a special case.
Resources deployed outside Portainer are marked external and default to administrators only. The docs say you can change that with labels on the container:
docker run -d --label io.portainer.accesscontrol.teams=devs nginx
There are three labels. io.portainer.accesscontrol.public gives access to all users. io.portainer.accesscontrol.teams restricts it to the named teams. io.portainer.accesscontrol.users restricts it to named users, and you can combine it with the teams label.
The caveat is the precedence. The public label wins over the team and user labels, so one stray public label opens the container to everyone. Also, access control covers Docker and Swarm resources except images, and resources created by a stack inherit the settings of the stack.
I would use this for the one-off container you started by hand and now want a colleague or family member to see, without making them an administrator. Set the label when you create the container, because labels cannot be added to a running container without recreating it.
Further reading: Access control, On this site: hide the containers you never want to see in Portainer with –hide-label, On this site: switch on Force HTTPS only in Portainer, but test 9443 first